/external/llvm/lib/Analysis/ |
PHITransAddr.cpp | 26 isa<GetElementPtrInst>(Inst)) 38 // if (isa<BitCastInst>(PtrInst) || isa<GetElementPtrInst>(PtrInst)) 216 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { 242 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(*UI)) 399 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { 409 GetElementPtrInst *Result = 410 GetElementPtrInst::Create(GEPOps[0], makeArrayRef(GEPOps).slice(1) [all...] |
InlineCost.cpp | 120 } else if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(II)){ 208 else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(I)) {
|
Loads.cpp | 41 isa<PHINode>(A) || isa<GetElementPtrInst>(A))
|
/external/llvm/lib/CodeGen/ |
ShadowStackGC.cpp | 66 static GetElementPtrInst *CreateGEP(LLVMContext &Context, 69 static GetElementPtrInst *CreateGEP(LLVMContext &Context, 349 GetElementPtrInst * 357 assert(isa<GetElementPtrInst>(Val) && "Unexpected folded constant"); 359 return dyn_cast<GetElementPtrInst>(Val); 362 GetElementPtrInst * 369 assert(isa<GetElementPtrInst>(Val) && "Unexpected folded constant"); 371 return dyn_cast<GetElementPtrInst>(Val);
|
SjLjEHPrepare.cpp | 518 CallSite = GetElementPtrInst::Create(FunctionContext, Idxs, "call_site", 523 Value *FCData = GetElementPtrInst::Create(FunctionContext, Idxs, "fc_data", 526 Value *SelectorAddr = GetElementPtrInst::Create(FCData, Idxs, 531 Value *ExceptionAddr = GetElementPtrInst::Create(FCData, Idxs, 599 GetElementPtrInst::Create(FunctionContext, Idxs, "lsda_gep", 607 GetElementPtrInst::Create(FunctionContext, Idxs, "lsda_gep", 615 = GetElementPtrInst::Create(FunctionContext, Idxs, "jbuf_gep", 619 GetElementPtrInst::Create(JBufPtr, Idxs, "jbuf_fp_gep", 631 GetElementPtrInst::Create(JBufPtr, Idxs, "jbuf_sp_gep", 737 CallSite = GetElementPtrInst::Create(FuncCtx, Idxs, "call_site" [all...] |
/external/llvm/include/llvm/Transforms/ |
Scalar.h | 22 class GetElementPtrInst;
|
/external/llvm/unittests/Transforms/Utils/ |
Cloning.cpp | 127 GetElementPtrInst *GEP = GetElementPtrInst::Create(V, ops);
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombinePHI.cpp | 131 GetElementPtrInst *FirstInst =cast<GetElementPtrInst>(PN.getIncomingValue(0)); 148 GetElementPtrInst *GEP= dyn_cast<GetElementPtrInst>(PN.getIncomingValue(i)); 221 GetElementPtrInst *InGEP =cast<GetElementPtrInst>(PN.getIncomingValue(i)); 231 GetElementPtrInst *NewGEP = 232 GetElementPtrInst::Create(Base, makeArrayRef(FixedOperands).slice(1)); 279 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(L->getOperand(0)) [all...] |
InstCombineLoadStoreAlloca.cpp | 61 GetElementPtrInst::CreateInBounds(New, Idx, New->getName()+".sub"); 178 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Op)) { 360 isa<GetElementPtrInst>(A)) 397 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr)) {
|
InstCombineAddSub.cpp | 469 GetElementPtrInst *GEP = 0; 475 if (GetElementPtrInst *LHSGEP = dyn_cast<GetElementPtrInst>(LHS)) { 491 if (GetElementPtrInst *RHSGEP = dyn_cast<GetElementPtrInst>(RHS)) {
|
InstCombine.h | 138 Instruction *FoldCmpLoadFromIndexedGlobal(GetElementPtrInst *GEP, 184 Instruction *visitGetElementPtrInst(GetElementPtrInst &GEP);
|
InstructionCombining.cpp | 799 Instruction *InstCombiner::visitGetElementPtrInst(GetElementPtrInst &GEP) { [all...] |
/external/llvm/lib/Transforms/IPO/ |
ArgumentPromotion.cpp | 352 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(V)) { 390 } else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(U)) { 555 assert(isa<LoadInst>(User) || isa<GetElementPtrInst>(User)); 581 Params.push_back(GetElementPtrInst::getIndexedType(I->getType(), *SI)); 671 Value *Idx = GetElementPtrInst::Create(*AI, Idxs, 702 V = GetElementPtrInst::Create(V, Ops, V->getName()+".idx", Call); [all...] |
GlobalOpt.cpp | 234 } else if (isa<GetElementPtrInst>(I)) { 342 } else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(U)) { 397 GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(I); 417 if (!isa<GetElementPtrInst>(U) && 584 isa<GetElementPtrInst>(GEP)) && "NonGEP CE's are not SRAable!"); 603 GetElementPtrInst *GEPI = cast<GetElementPtrInst>(GEP); 608 NewPtr = GetElementPtrInst::Create(NewPtr, Idxs [all...] |
MergeFunctions.cpp | 182 bool isEquivalentGEP(const GetElementPtrInst *GEP1, 183 const GetElementPtrInst *GEP2) { 426 if (const GetElementPtrInst *GEP1 = dyn_cast<GetElementPtrInst>(F1I)) { 427 const GetElementPtrInst *GEP2 = dyn_cast<GetElementPtrInst>(F2I);
|
/external/llvm/include/llvm/ |
Instructions.h | 696 // GetElementPtrInst Class 703 assert(Ty && "Invalid GetElementPtrInst indices for type!"); 707 /// GetElementPtrInst - an instruction for type-safe pointer arithmetic to 710 class GetElementPtrInst : public Instruction { 711 GetElementPtrInst(const GetElementPtrInst &GEPI); 718 inline GetElementPtrInst(Value *Ptr, ArrayRef<Value *> IdxList, 721 inline GetElementPtrInst(Value *Ptr, ArrayRef<Value *> IdxList, 725 virtual GetElementPtrInst *clone_impl() const; 727 static GetElementPtrInst *Create(Value *Ptr, ArrayRef<Value *> IdxList [all...] |
Operator.h | 23 class GetElementPtrInst; 233 friend class GetElementPtrInst;
|
/external/llvm/lib/Transforms/Utils/ |
CodeExtractor.cpp | 319 GetElementPtrInst *GEP = 320 GetElementPtrInst::Create(AI, Idx, "gep_" + inputs[i]->getName(), TI); 421 GetElementPtrInst *GEP = 422 GetElementPtrInst::Create(Struct, Idx, 447 GetElementPtrInst *GEP 448 = GetElementPtrInst::Create(Struct, Idx, 562 GetElementPtrInst *GEP = 563 GetElementPtrInst::Create(OAI, Idx,
|
LowerInvoke.cpp | 459 OldJmpBufPtr = GetElementPtrInst::Create(JmpBuf, Idx, "OldBuf", 506 Value *JmpBufPtr = GetElementPtrInst::Create(JmpBuf, Idx, "TheJmpBuf", 560 Idx[0] = GetElementPtrInst::Create(BufPtr, Idx, "JmpBuf", UnwindBlock);
|
/external/llvm/lib/Transforms/Scalar/ |
ScalarReplAggregates.cpp | 130 void isSafeGEP(GetElementPtrInst *GEPI, uint64_t &Offset, AllocaInfo &Info); 146 void RewriteGEP(GetElementPtrInst *GEPI, AllocaInst *AI, uint64_t Offset, 449 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(User)) { 534 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(User)) { [all...] |
MemCpyOptimizer.cpp | 41 static int64_t GetOffsetFromIndex(const GetElementPtrInst *GEP, unsigned Idx, 78 GetElementPtrInst *GEP1 = dyn_cast<GetElementPtrInst>(Ptr1); 79 GetElementPtrInst *GEP2 = dyn_cast<GetElementPtrInst>(Ptr2); 641 } else if (GetElementPtrInst *G = dyn_cast<GetElementPtrInst>(UI)) { [all...] |
EarlyCSE.cpp | 63 isa<GetElementPtrInst>(Inst) || isa<CmpInst>(Inst) || 112 isa<BinaryOperator>(Inst) || isa<GetElementPtrInst>(Inst) ||
|
/external/llvm/include/llvm/Support/ |
IRBuilder.h | 790 return Insert(GetElementPtrInst::Create(Ptr, IdxList), Name); 803 return Insert(GetElementPtrInst::CreateInBounds(Ptr, IdxList), Name); 809 return Insert(GetElementPtrInst::Create(Ptr, Idx), Name); [all...] |
NoFolder.h | 186 return GetElementPtrInst::Create(C, IdxList); 195 return GetElementPtrInst::CreateInBounds(C, IdxList);
|
InstVisitor.h | 176 RetTy visitGetElementPtrInst(GetElementPtrInst &I){ DELEGATE(Instruction); }
|