LLVM 20.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 30 of file ConstantFolder.h.
|
explicitdefault |
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 197 of file ConstantFolder.h.
References llvm::CallingConv::C, and llvm::ConstantExpr::getPointerBitCastOrAddrSpaceCast().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 193 of file ConstantFolder.h.
References llvm::CallingConv::C, and llvm::ConstantExpr::getPointerCast().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 183 of file ConstantFolder.h.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 43 of file ConstantFolder.h.
References llvm::ConstantFoldBinaryInstruction(), llvm::ConstantExpr::get(), llvm::ConstantExpr::isDesirableBinOp(), LHS, and RHS.
Referenced by FoldBinOpFMF().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 86 of file ConstantFolder.h.
References FoldBinOp(), LHS, and RHS.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 173 of file ConstantFolder.h.
References llvm::CallingConv::C, llvm::ConstantFoldCastInstruction(), llvm::ConstantExpr::getCast(), and llvm::ConstantExpr::isDesirableCastOp().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 98 of file ConstantFolder.h.
References llvm::ConstantFoldCompareInstruction(), LHS, P, and RHS.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 55 of file ConstantFolder.h.
References llvm::ConstantFoldBinaryInstruction(), llvm::ConstantExpr::get(), llvm::ConstantExpr::isDesirableBinOp(), llvm::PossiblyExactOperator::IsExact, LHS, and RHS.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 146 of file ConstantFolder.h.
References llvm::ConstantExpr::getExtractElement(), and Idx.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 130 of file ConstantFolder.h.
References llvm::ConstantFoldExtractValueInstruction().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 106 of file ConstantFolder.h.
References llvm::any_of(), llvm::ConstantExpr::getGetElementPtr(), llvm::ConstantExpr::isSupportedGetElementPtr(), and Ptr.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 154 of file ConstantFolder.h.
References llvm::ConstantExpr::getInsertElement(), and Idx.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 137 of file ConstantFolder.h.
References llvm::ConstantFoldInsertValueInstruction().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 68 of file ConstantFolder.h.
References llvm::ConstantFoldBinaryInstruction(), llvm::ConstantExpr::get(), llvm::ConstantExpr::isDesirableBinOp(), LHS, llvm::OverflowingBinaryOperator::NoSignedWrap, llvm::OverflowingBinaryOperator::NoUnsignedWrap, and RHS.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 121 of file ConstantFolder.h.
References llvm::CallingConv::C, CC, and llvm::ConstantFoldSelectInstruction().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 164 of file ConstantFolder.h.
References llvm::ConstantExpr::getShuffleVector().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 91 of file ConstantFolder.h.
References llvm::CallingConv::C, and llvm::ConstantFoldUnaryInstruction().