LLVM: lib/IR/Instructions.cpp File Reference (original) (raw)

Go to the source code of this file.

Functions
static Value * getAISize (LLVMContext &Context, Value *Amt)
static Align computeAllocaDefaultAlign (Type *Ty, InsertPosition Pos)
static Align computeLoadStoreDefaultAlign (Type *Ty, InsertPosition Pos)
template
static Type * getIndexedTypeInternal (Type *Ty, ArrayRef< IndexTy > IdxList)
static Value * createPlaceholderForShuffleVector (Value *V)
static bool isSingleSourceMaskImpl (ArrayRef< int > Mask, int NumOpElts)
static bool isIdentityMaskImpl (ArrayRef< int > Mask, int NumOpElts)
static bool isReplicationMaskWithParams (ArrayRef< int > Mask, int ReplicationFactor, int VF)
static int matchShuffleAsBitRotate (ArrayRef< int > Mask, int NumSubElts)
Try to lower a vector shuffle as a bit rotation.
static bool hasNonZeroFPOperands (const CmpInst *Cmp)
static bool isImpliedTrueByMatchingCmp (CmpPredicate Pred1, CmpPredicate Pred2)
static bool isImpliedFalseByMatchingCmp (CmpPredicate Pred1, CmpPredicate Pred2)
Variables
static cl::opt< bool > DisableI2pP2iOpt ("disable-i2p-p2i-opt", cl::init(false), cl::desc("Disables inttoptr/ptrtoint roundtrip optimization"))

computeAllocaDefaultAlign()

computeLoadStoreDefaultAlign()

createPlaceholderForShuffleVector()

Value * createPlaceholderForShuffleVector ( Value * V) static

getAISize()

getIndexedTypeInternal()

template

hasNonZeroFPOperands()

isIdentityMaskImpl()

bool isIdentityMaskImpl ( ArrayRef< int > Mask, int NumOpElts ) static

isImpliedFalseByMatchingCmp()

isImpliedTrueByMatchingCmp()

Definition at line 3975 of file Instructions.cpp.

References llvm::ICmpInst::getFlippedSignednessPredicate(), llvm::CmpPredicate::getMatching(), llvm::CmpPredicate::hasSameSign(), llvm::CmpInst::ICMP_EQ, llvm::CmpInst::ICMP_NE, llvm::CmpInst::ICMP_SGE, llvm::CmpInst::ICMP_SGT, llvm::CmpInst::ICMP_SLE, llvm::CmpInst::ICMP_SLT, llvm::CmpInst::ICMP_UGE, llvm::CmpInst::ICMP_UGT, llvm::CmpInst::ICMP_ULE, llvm::CmpInst::ICMP_ULT, and llvm::CmpInst::isSigned().

Referenced by llvm::ICmpInst::isImpliedByMatchingCmp(), and isImpliedFalseByMatchingCmp().

isReplicationMaskWithParams()

bool isReplicationMaskWithParams ( ArrayRef< int > Mask, int ReplicationFactor, int VF ) static

isSingleSourceMaskImpl()

bool isSingleSourceMaskImpl ( ArrayRef< int > Mask, int NumOpElts ) static

matchShuffleAsBitRotate()

int matchShuffleAsBitRotate ( ArrayRef< int > Mask, int NumSubElts ) static

DisableI2pP2iOpt

cl::opt< bool > DisableI2pP2iOpt("disable-i2p-p2i-opt", cl::init(false), cl::desc("Disables inttoptr/ptrtoint roundtrip optimization")) ( "disable-i2p-p2i-opt" , cl::init(false) , cl::desc("Disables inttoptr/ptrtoint roundtrip optimization") ) static