forked from OSchip/llvm-project
5548e807b5
This removes the extractvalue constant expression, as part of https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179. extractvalue is already not supported in bitcode, so we do not need to worry about bitcode auto-upgrade. Uses of ConstantExpr::getExtractValue() should be replaced with IRBuilder::CreateExtractValue() (if the fact that the result is constant is not important) or ConstantFoldExtractValueInstruction() (if it is). Though for this particular case, it is also possible and usually preferable to use getAggregateElement() instead. The C API function LLVMConstExtractValue() is removed, as the underlying constant expression no longer exists. Instead, LLVMBuildExtractValue() should be used (which will constant fold or create an instruction). Depending on the use-case, LLVMGetAggregateElement() may also be used instead. Differential Revision: https://reviews.llvm.org/D125795 |
||
---|---|---|
.. | ||
Transforms | ||
Analysis.h | ||
BitReader.h | ||
BitWriter.h | ||
Comdat.h | ||
Core.h | ||
DataTypes.h | ||
DebugInfo.h | ||
Deprecated.h | ||
Disassembler.h | ||
DisassemblerTypes.h | ||
Error.h | ||
ErrorHandling.h | ||
ExecutionEngine.h | ||
ExternC.h | ||
IRReader.h | ||
Initialization.h | ||
LLJIT.h | ||
Linker.h | ||
Object.h | ||
Orc.h | ||
OrcEE.h | ||
Remarks.h | ||
Support.h | ||
Target.h | ||
TargetMachine.h | ||
Types.h | ||
blake3.h | ||
lto.h | ||
module.modulemap |