HomeSort by relevance Sort by last modified time
    Searched refs:Gep (Results 1 - 5 of 5) sorted by null

  /external/llvm/lib/Analysis/
Delinearization.cpp 10 // This implements an analysis pass that tries to delinearize all GEP
77 else if (GetElementPtrInst *Gep = dyn_cast<GetElementPtrInst>(&Inst))
78 return Gep->getPointerOperand();
VectorUtils.cpp 98 /// \brief Find the operand of the GEP that should be checked for consecutive
101 unsigned llvm::getGEPInductionOperand(const GetElementPtrInst *Gep) {
102 const DataLayout &DL = Gep->getModule()->getDataLayout();
103 unsigned LastOperand = Gep->getNumOperands() - 1;
104 unsigned GEPAllocSize = DL.getTypeAllocSize(Gep->getResultElementType());
107 while (LastOperand > 1 && match(Gep->getOperand(LastOperand), m_Zero())) {
109 gep_type_iterator GEPTI = gep_type_begin(Gep);
112 // If it's a type with the same allocation size as the result of the GEP we
122 /// \brief If the argument is a GEP, then returns the operand identified by
126 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr)
    [all...]
  /external/llvm/include/llvm/Analysis/
VectorUtils.h 51 /// \brief Find the operand of the GEP that should be checked for consecutive
54 unsigned getGEPInductionOperand(const GetElementPtrInst *Gep);
56 /// \brief If the argument is a GEP, then returns the operand identified by
  /external/llvm/lib/Transforms/Vectorize/
LoopVectorize.cpp 247 /// A helper function that returns GEP instruction and knows to skip a
    [all...]
  /external/llvm/lib/CodeGen/
CodeGenPrepare.cpp 92 "addr-sink-using-gep", cl::Hidden, cl::init(false),
586 // TODO: We might want to insert a new base object relocate and gep off
594 // Accepts a GEP and extracts the operands into a vector provided they're all
596 static bool getGEPSmallConstantIntOffsetV(GetElementPtrInst *GEP,
598 for (unsigned i = 1; i < GEP->getNumOperands(); i++) {
600 auto Op = dyn_cast<ConstantInt>(GEP->getOperand(i));
605 for (unsigned i = 1; i < GEP->getNumOperands(); i++)
606 OffsetV.push_back(GEP->getOperand(i));
641 // Create a Builder and replace the target callsite with a gep
696 // %ptr = gep %base + 1
    [all...]

Completed in 203 milliseconds