|
LLVM 24.0.0git
|
ConstantFolder - Create constants with minimum, target independent, folding. More...
#include "llvm/IR/ConstantFolder.h"
ConstantFolder - Create constants with minimum, target independent, folding.
Definition at line 31 of file ConstantFolder.h.
|
explicitdefault |
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 211 of file ConstantFolder.h.
References C(), and llvm::ConstantExpr::getPointerBitCastOrAddrSpaceCast().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 207 of file ConstantFolder.h.
References C(), and llvm::ConstantExpr::getPointerCast().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 44 of file ConstantFolder.h.
References llvm::ConstantFoldBinaryInstruction(), dyn_cast(), llvm::ConstantExpr::get(), llvm::ConstantExpr::isDesirableBinOp(), LHS, Opc, and RHS.
Referenced by FoldBinOpFMF().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 87 of file ConstantFolder.h.
References FoldBinOp(), LHS, Opc, and RHS.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 182 of file ConstantFolder.h.
References llvm::Offset.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 177 of file ConstantFolder.h.
References llvm::sampleprof::Base, and llvm::Offset.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 187 of file ConstantFolder.h.
References C(), llvm::ConstantFoldCastInstruction(), llvm::dyn_cast(), llvm::ConstantExpr::getCast(), and llvm::ConstantExpr::isDesirableCastOp().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 99 of file ConstantFolder.h.
References llvm::ConstantFoldCompareInstruction(), dyn_cast(), LHS, P, and RHS.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 56 of file ConstantFolder.h.
References llvm::ConstantFoldBinaryInstruction(), dyn_cast(), llvm::ConstantExpr::get(), llvm::ConstantExpr::isDesirableBinOp(), llvm::PossiblyExactOperator::IsExact, LHS, Opc, and RHS.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 150 of file ConstantFolder.h.
References dyn_cast(), and llvm::ConstantExpr::getExtractElement().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 134 of file ConstantFolder.h.
References llvm::ConstantFoldExtractValueInstruction(), and llvm::dyn_cast().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 107 of file ConstantFolder.h.
References llvm::any_of(), llvm::ArrayRef< T >::data(), DL, llvm::dyn_cast(), llvm::ConstantExpr::getGetElementPtr(), llvm::isa(), llvm::ConstantExpr::isSupportedGetElementPtr(), and llvm::ArrayRef< T >::size().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 158 of file ConstantFolder.h.
References dyn_cast(), and llvm::ConstantExpr::getInsertElement().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 141 of file ConstantFolder.h.
References llvm::ConstantFoldInsertValueInstruction(), and dyn_cast().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 197 of file ConstantFolder.h.
References AbstractManglingParser< Derived, Alloc >::Ops.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 69 of file ConstantFolder.h.
References llvm::ConstantFoldBinaryInstruction(), dyn_cast(), llvm::ConstantExpr::get(), llvm::ConstantExpr::isDesirableBinOp(), LHS, llvm::OverflowingBinaryOperator::NoSignedWrap, llvm::OverflowingBinaryOperator::NoUnsignedWrap, Opc, and RHS.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 124 of file ConstantFolder.h.
References C(), llvm::ConstantFoldSelectInstruction(), and dyn_cast().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 168 of file ConstantFolder.h.
References dyn_cast(), llvm::ConstantExpr::getShuffleVector(), and llvm::V1.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 92 of file ConstantFolder.h.
References C(), llvm::ConstantFoldUnaryInstruction(), llvm::dyn_cast(), and Opc.