LLVM
8.0.1
|
InstrInfoQuery provides an interface to query additional information for instructions like metadata or keywords like nsw, which provides conservative results if the users specified it is safe to use. More...
#include "llvm/Analysis/InstructionSimplify.h"
Public Member Functions | |
InstrInfoQuery (bool UMD) | |
InstrInfoQuery () | |
MDNode * | getMetadata (const Instruction *I, unsigned KindID) const |
template<class InstT > | |
bool | hasNoUnsignedWrap (const InstT *Op) const |
template<class InstT > | |
bool | hasNoSignedWrap (const InstT *Op) const |
bool | isExact (const BinaryOperator *Op) const |
Public Attributes | |
bool | UseInstrInfo = true |
InstrInfoQuery provides an interface to query additional information for instructions like metadata or keywords like nsw, which provides conservative results if the users specified it is safe to use.
Definition at line 60 of file InstructionSimplify.h.
|
inline |
Definition at line 61 of file InstructionSimplify.h.
|
inline |
Definition at line 62 of file InstructionSimplify.h.
|
inline |
Definition at line 65 of file InstructionSimplify.h.
References llvm::Instruction::getMetadata().
Referenced by SimplifyICmpInst(), and simplifyICmpWithConstant().
Definition at line 77 of file InstructionSimplify.h.
Referenced by setLimitsForBinOp(), simplifyAndOfICmpsWithAdd(), simplifyDiv(), simplifyICmpWithBinOp(), llvm::SimplifyInstruction(), simplifyOrOfICmpsWithAdd(), and SimplifyWithOpReplaced().
|
inline |
Definition at line 71 of file InstructionSimplify.h.
Referenced by setLimitsForBinOp(), simplifyAndOfICmpsWithAdd(), simplifyDiv(), simplifyICmpWithBinOp(), llvm::SimplifyInstruction(), simplifyOrOfICmpsWithAdd(), and SimplifyWithOpReplaced().
|
inline |
Definition at line 83 of file InstructionSimplify.h.
Referenced by llvm::SimplifyQuery::getWithInstruction(), setLimitsForBinOp(), simplifyICmpWithBinOp(), llvm::SimplifyInstruction(), and SimplifyWithOpReplaced().
Definition at line 63 of file InstructionSimplify.h.
Referenced by computePointerICmp(), SimplifyAShrInst(), SimplifyICmpInst(), simplifyICmpWithZero(), SimplifyMulInst(), simplifyRem(), and SimplifyShlInst().