|
LLVM
10.0.0
|
#include "llvm/Analysis/InstructionSimplify.h"
Public Member Functions | |
| SimplifyQuery (const DataLayout &DL, const Instruction *CXTI=nullptr) | |
| SimplifyQuery (const DataLayout &DL, const TargetLibraryInfo *TLI, const DominatorTree *DT=nullptr, AssumptionCache *AC=nullptr, const Instruction *CXTI=nullptr, bool UseInstrInfo=true) | |
| SimplifyQuery | getWithInstruction (Instruction *I) const |
Public Attributes | |
| const DataLayout & | DL |
| const TargetLibraryInfo * | TLI = nullptr |
| const DominatorTree * | DT = nullptr |
| AssumptionCache * | AC = nullptr |
| const Instruction * | CxtI = nullptr |
| const InstrInfoQuery | IIQ |
Definition at line 90 of file InstructionSimplify.h.
|
inline |
Definition at line 102 of file InstructionSimplify.h.
|
inline |
Definition at line 105 of file InstructionSimplify.h.
|
inline |
Definition at line 110 of file InstructionSimplify.h.
References CxtI, I, llvm::InstrInfoQuery::isExact(), llvm::SimplifyAddInst(), llvm::SimplifyAndInst(), llvm::SimplifyAShrInst(), llvm::SimplifyFAddInst(), llvm::SimplifyFCmpInst(), llvm::SimplifyFDivInst(), llvm::SimplifyFMAFMul(), llvm::SimplifyFMulInst(), llvm::SimplifyFNegInst(), llvm::SimplifyFRemInst(), llvm::SimplifyFSubInst(), llvm::SimplifyICmpInst(), llvm::SimplifyLShrInst(), llvm::SimplifyMulInst(), llvm::SimplifyOrInst(), llvm::SimplifySDivInst(), llvm::SimplifySelectInst(), llvm::SimplifyShlInst(), llvm::SimplifySRemInst(), llvm::SimplifySubInst(), llvm::SimplifyUDivInst(), llvm::SimplifyURemInst(), and llvm::SimplifyXorInst().
Referenced by foldShiftIntoShiftInAnotherHandOfAndInICmp(), foldUnsignedUnderflowCheck(), getBinOpsForFactorization(), llvm::InstCombiner::reassociateShiftAmtsOfTwoSameDirectionShifts(), llvm::SimplifyInstruction(), simplifyLoopInst(), ThreadCmpOverPHI(), llvm::InstCombiner::visitFCmpInst(), llvm::InstCombiner::visitICmpInst(), and llvm::InstCombiner::visitShl().
| AssumptionCache* llvm::SimplifyQuery::AC = nullptr |
Definition at line 94 of file InstructionSimplify.h.
Referenced by foldShiftIntoShiftInAnotherHandOfAndInICmp(), foldUnsignedUnderflowCheck(), SimplifyAndInst(), SimplifyAShrInst(), SimplifyICmpInst(), simplifyICmpWithBinOp(), simplifyICmpWithZero(), llvm::SimplifyInstruction(), SimplifyLShrInst(), SimplifyOrInst(), SimplifyRightShift(), SimplifyShift(), SimplifySubInst(), and simplifyUnsignedRangeCheck().
| const Instruction* llvm::SimplifyQuery::CxtI = nullptr |
Definition at line 95 of file InstructionSimplify.h.
Referenced by foldShiftIntoShiftInAnotherHandOfAndInICmp(), foldUnsignedUnderflowCheck(), getWithInstruction(), SimplifyAndInst(), SimplifyAShrInst(), SimplifyICmpInst(), simplifyICmpWithBinOp(), simplifyICmpWithZero(), llvm::SimplifyInstruction(), SimplifyLShrInst(), SimplifyOrInst(), SimplifyRightShift(), SimplifyShift(), SimplifySubInst(), simplifyUnaryIntrinsic(), and simplifyUnsignedRangeCheck().
| const DataLayout& llvm::SimplifyQuery::DL |
Definition at line 91 of file InstructionSimplify.h.
Referenced by foldConstant(), foldOrCommuteConstant(), foldShiftIntoShiftInAnotherHandOfAndInICmp(), foldUnsignedUnderflowCheck(), SimplifyAndInst(), SimplifyAShrInst(), simplifyBinaryIntrinsic(), SimplifyCastInst(), SimplifyFCmpInst(), SimplifyGEPInst(), SimplifyICmpInst(), simplifyICmpOfBools(), simplifyICmpWithBinOp(), simplifyICmpWithZero(), llvm::SimplifyInstruction(), SimplifyLShrInst(), SimplifyOrInst(), SimplifyRightShift(), SimplifyShift(), SimplifySubInst(), simplifyUnsignedRangeCheck(), and SimplifyWithOpReplaced().
| const DominatorTree* llvm::SimplifyQuery::DT = nullptr |
Definition at line 93 of file InstructionSimplify.h.
Referenced by foldShiftIntoShiftInAnotherHandOfAndInICmp(), foldUnsignedUnderflowCheck(), runImpl(), SimplifyAndInst(), SimplifyAShrInst(), SimplifyICmpInst(), simplifyICmpWithBinOp(), simplifyICmpWithZero(), llvm::SimplifyInstruction(), SimplifyLShrInst(), SimplifyOrInst(), SimplifyPHINode(), SimplifyRightShift(), SimplifyShift(), SimplifySubInst(), simplifyUnsignedRangeCheck(), ThreadBinOpOverPHI(), and ThreadCmpOverPHI().
| const InstrInfoQuery llvm::SimplifyQuery::IIQ |
Definition at line 100 of file InstructionSimplify.h.
Referenced by simplifyAndOfICmps(), SimplifyAShrInst(), simplifyDiv(), SimplifyICmpInst(), simplifyICmpWithBinOp(), simplifyICmpWithZero(), llvm::SimplifyInstruction(), SimplifyMulInst(), simplifyOrOfICmps(), simplifyRem(), SimplifyShlInst(), and SimplifyWithOpReplaced().
| const TargetLibraryInfo* llvm::SimplifyQuery::TLI = nullptr |
Definition at line 92 of file InstructionSimplify.h.
Referenced by runImpl(), simplifyAndOrOfCmps(), llvm::SimplifyCall(), SimplifyFAddInst(), SimplifyFCmpInst(), SimplifyFSubInst(), SimplifyICmpInst(), llvm::SimplifyInstruction(), simplifyUnaryIntrinsic(), and SimplifyWithOpReplaced().
1.8.13