/external/llvm/include/llvm/IR/ |
D | GetElementPtrTypeIterator.h | 85 inline gep_type_iterator gep_type_begin(const User *GEP) { in gep_type_begin() 89 inline gep_type_iterator gep_type_end(const User *GEP) { in gep_type_end() 92 inline gep_type_iterator gep_type_begin(const User &GEP) { in gep_type_begin() 96 inline gep_type_iterator gep_type_end(const User &GEP) { in gep_type_end()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXFavorNonGenericAddrSpaces.cpp | 112 GEPOperator *GEP) { in hoistAddrSpaceCastFromGEP() 148 if (GEPOperator *GEP = dyn_cast<GEPOperator>(MI->getOperand(Idx))) { in optimizeMemoryInstruction() local
|
D | NVVMReflect.cpp | 177 const ConstantExpr *GEP = cast<ConstantExpr>(Str); in handleFunction() local
|
D | NVPTXUtilities.cpp | 378 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in skipPointerTransfer() local 410 } else if (const GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in skipPointerTransfer() local
|
/external/llvm/lib/Transforms/Scalar/ |
D | SeparateConstOffsetFromGEP.cpp | 634 Value *ConstantOffsetExtractor::Extract(Value *Idx, GetElementPtrInst *GEP) { in Extract() 646 int64_t ConstantOffsetExtractor::Find(Value *Idx, GetElementPtrInst *GEP) { in Find() 673 GetElementPtrInst *GEP) { in canonicalizeArrayIndicesToPointerSize() 692 SeparateConstOffsetFromGEP::accumulateByteOffset(GetElementPtrInst *GEP, in accumulateByteOffset() 825 bool SeparateConstOffsetFromGEP::splitGEP(GetElementPtrInst *GEP) { in splitGEP() 1002 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(I++)) { in runOnFunction() local
|
D | StraightLineStrengthReduce.cpp | 86 GEP, // &B[..][i * S][..] enumerator 233 static bool isGEPFoldable(GetElementPtrInst *GEP, in isGEPFoldable() 288 static bool hasOnlyOneNonZeroIndex(GetElementPtrInst *GEP) { in hasOnlyOneNonZeroIndex() 455 GetElementPtrInst *GEP) { in factorArrayIndex() 488 GetElementPtrInst *GEP) { in allocateCandidatesAndFindBasisForGEP()
|
D | LoadCombine.cpp | 93 if (auto *GEP = dyn_cast<GetElementPtrInst>(POP.Pointer)) { in getPointerOffsetPair() local
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUTargetTransformInfo.cpp | 42 const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(&I); in getUnrollingPreferences() local
|
D | AMDGPUPromoteAlloca.cpp | 115 GetElementPtrInst *GEP = cast<GetElementPtrInst>(Ptr); in calculateVectorIndex() local 121 static Value* GEPToVectorIndex(GetElementPtrInst *GEP) { in GEPToVectorIndex() 167 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(AllocaUser); in tryPromoteAllocaToVector() local
|
/external/llvm/lib/Analysis/ |
D | PHITransAddr.cpp | 216 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in PHITranslateSubExpr() local 397 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in InsertPHITranslatedSubExpr() local
|
D | MemoryBuiltins.cpp | 402 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) in compute() local 521 SizeOffsetType ObjectSizeOffsetVisitor::visitGEPOperator(GEPOperator &GEP) { in visitGEPOperator() 636 } else if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in compute_() local 716 ObjectSizeOffsetEvaluator::visitGEPOperator(GEPOperator &GEP) { in visitGEPOperator()
|
D | ValueTracking.cpp | 1631 static bool isGEPKnownNonNull(GEPOperator *GEP, const DataLayout &DL, in isGEPKnownNonNull() 1742 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) in isKnownNonZero() local 2567 if (GEPOperator *GEP = dyn_cast<GEPOperator>(Ptr)) { in GetPointerBaseWithConstantOffset() local 2603 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in getConstantStringInfo() local 2744 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in GetUnderlyingObject() local
|
/external/llvm/lib/IR/ |
D | Value.cpp | 393 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in stripPointerCastsAndOffsets() local 454 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in stripAndAccumulateInBoundsConstantOffsets() local 537 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in isDereferenceablePointer() local
|
/external/llvm/lib/Transforms/Utils/ |
D | CodeExtractor.cpp | 367 GetElementPtrInst *GEP = GetElementPtrInst::Create( in constructFunction() local 469 GetElementPtrInst *GEP = GetElementPtrInst::Create( in emitCallAndSwitchStatement() local 494 GetElementPtrInst *GEP = GetElementPtrInst::Create( in emitCallAndSwitchStatement() local 608 GetElementPtrInst *GEP = GetElementPtrInst::Create( in emitCallAndSwitchStatement() local
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 270 Constant *GEP = ConstantExpr::getGetElementPtr( in TEST() local 338 auto *GEP = ConstantExpr::getGetElementPtr(IntTy, Placeholder, C1); in TEST() local
|
/external/llvm/lib/Transforms/IPO/ |
D | ArgumentPromotion.cpp | 444 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(V)) { in isSafeToPromoteArgument() local 481 } else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(UR)) { in isSafeToPromoteArgument() local 955 GetElementPtrInst *GEP = cast<GetElementPtrInst>(I->user_back()); in DoPromotion() local
|
D | LowerBitSets.cpp | 71 if (auto GEP = dyn_cast<GEPOperator>(V)) { in containsValue() local 352 Constant *GEP = ConstantExpr::getInBoundsGetElementPtr( in allocateByteArrays() local
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 79 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(I)) { in isOnlyCopiedFromConstantGlobal() local 199 Instruction *GEP = in simplifyAllocaArraySize() local 915 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr)) { in visitStoreInst() local
|
D | InstCombineCompares.cpp | 230 FoldCmpLoadFromIndexedGlobal(GetElementPtrInst *GEP, GlobalVariable *GV, in FoldCmpLoadFromIndexedGlobal() 510 static Value *EvaluateGEPOffsetExpression(User *GEP, InstCombiner &IC, in EvaluateGEPOffsetExpression() 1431 if (GetElementPtrInst *GEP = in visitICmpInstWithInstAndIntCst() local 3175 if (GetElementPtrInst *GEP = in visitICmpInst() local 3188 if (GEPOperator *GEP = dyn_cast<GEPOperator>(Op0)) in visitICmpInst() local 3191 if (GEPOperator *GEP = dyn_cast<GEPOperator>(Op1)) in visitICmpInst() local 4039 if (GetElementPtrInst *GEP = in visitFCmpInst() local
|
D | InstCombinePHI.cpp | 149 GetElementPtrInst *GEP= dyn_cast<GetElementPtrInst>(PN.getIncomingValue(i)); in FoldPHIArgGEPIntoPHI() local 279 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(L->getOperand(0))) in isSafeAndProfitableToSinkLoad() local
|
/external/llvm/unittests/Linker/ |
D | LinkModulesTest.cpp | 79 Value *GEP = Builder.CreateGEP(AT, GV, GEPIndices, "switch.gep"); in TEST_F() local
|
/external/llvm/lib/Analysis/IPA/ |
D | InlineCost.cpp | 232 bool CallAnalyzer::isGEPOffsetConstant(GetElementPtrInst &GEP) { in isGEPOffsetConstant() 244 bool CallAnalyzer::accumulateGEPOffset(GEPOperator &GEP, APInt &Offset) { in accumulateGEPOffset() 993 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in stripAndComputeInBoundsConstantOffsets() local
|
/external/llvm/lib/CodeGen/ |
D | GlobalMerge.cpp | 226 Constant *GEP = in doMerge() local
|
D | StackProtector.cpp | 176 } else if (const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(U)) { in HasAddressTaken() local
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCLoopPreIncPrep.cpp | 122 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(StrippedBasePtr)) in IsPtrInBounds() local
|