LLVM 20.0.0git
|
TargetFolder - Create constants with target dependent folding. More...
#include "llvm/Analysis/TargetFolder.h"
TargetFolder - Create constants with target dependent folding.
Definition at line 34 of file TargetFolder.h.
|
inlineexplicit |
Definition at line 45 of file TargetFolder.h.
References DL.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 210 of file TargetFolder.h.
References llvm::CallingConv::C, and llvm::ConstantExpr::getPointerBitCastOrAddrSpaceCast().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 204 of file TargetFolder.h.
References llvm::CallingConv::C, and llvm::ConstantExpr::getPointerCast().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 191 of file TargetFolder.h.
References llvm::ConstantFoldBinaryIntrinsic(), LHS, and RHS.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 54 of file TargetFolder.h.
References llvm::ConstantFoldBinaryOpOperands(), DL, llvm::ConstantExpr::get(), llvm::ConstantExpr::isDesirableBinOp(), LHS, and RHS.
Referenced by FoldBinOpFMF().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 97 of file TargetFolder.h.
References FoldBinOp(), LHS, and RHS.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 184 of file TargetFolder.h.
References llvm::CallingConv::C, llvm::ConstantFoldCastOperand(), and DL.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 102 of file TargetFolder.h.
References llvm::ConstantFoldCompareInstOperands(), DL, LHS, P, and RHS.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 66 of file TargetFolder.h.
References llvm::ConstantFoldBinaryOpOperands(), DL, llvm::ConstantExpr::get(), llvm::ConstantExpr::isDesirableBinOp(), llvm::PossiblyExactOperator::IsExact, LHS, and RHS.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 157 of file TargetFolder.h.
References llvm::ConstantExpr::getExtractElement(), and Idx.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 141 of file TargetFolder.h.
References llvm::ConstantFoldExtractValueInstruction().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 117 of file TargetFolder.h.
References llvm::any_of(), llvm::ConstantExpr::getGetElementPtr(), llvm::ConstantExpr::isSupportedGetElementPtr(), and Ptr.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 165 of file TargetFolder.h.
References llvm::ConstantExpr::getInsertElement(), and Idx.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 148 of file TargetFolder.h.
References llvm::ConstantFoldInsertValueInstruction().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 79 of file TargetFolder.h.
References llvm::ConstantFoldBinaryOpOperands(), DL, llvm::ConstantExpr::get(), llvm::ConstantExpr::isDesirableBinOp(), LHS, llvm::OverflowingBinaryOperator::NoSignedWrap, llvm::OverflowingBinaryOperator::NoUnsignedWrap, and RHS.
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 131 of file TargetFolder.h.
References llvm::CallingConv::C, CC, and llvm::ConstantFoldSelectInstruction().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 175 of file TargetFolder.h.
References llvm::ConstantExpr::getShuffleVector().
|
inlineoverridevirtual |
Implements llvm::IRBuilderFolder.
Definition at line 110 of file TargetFolder.h.
References llvm::CallingConv::C, llvm::ConstantFoldUnaryOpOperand(), and DL.