Home
last modified time | relevance | path

Searched defs:GEP (Results 1 – 25 of 60) sorted by relevance

123

/external/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h85 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/
DNVPTXFavorNonGenericAddrSpaces.cpp112 GEPOperator *GEP) { in hoistAddrSpaceCastFromGEP()
148 if (GEPOperator *GEP = dyn_cast<GEPOperator>(MI->getOperand(Idx))) { in optimizeMemoryInstruction() local
DNVVMReflect.cpp177 const ConstantExpr *GEP = cast<ConstantExpr>(Str); in handleFunction() local
DNVPTXUtilities.cpp378 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/
DSeparateConstOffsetFromGEP.cpp634 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
DStraightLineStrengthReduce.cpp86 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()
DLoadCombine.cpp93 if (auto *GEP = dyn_cast<GetElementPtrInst>(POP.Pointer)) { in getPointerOffsetPair() local
/external/llvm/lib/Target/R600/
DAMDGPUTargetTransformInfo.cpp42 const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(&I); in getUnrollingPreferences() local
DAMDGPUPromoteAlloca.cpp115 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/
DPHITransAddr.cpp216 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in PHITranslateSubExpr() local
397 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in InsertPHITranslatedSubExpr() local
DMemoryBuiltins.cpp402 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()
DValueTracking.cpp1631 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/
DValue.cpp393 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/
DCodeExtractor.cpp367 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/
DConstantsTest.cpp270 Constant *GEP = ConstantExpr::getGetElementPtr( in TEST() local
338 auto *GEP = ConstantExpr::getGetElementPtr(IntTy, Placeholder, C1); in TEST() local
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp444 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
DLowerBitSets.cpp71 if (auto GEP = dyn_cast<GEPOperator>(V)) { in containsValue() local
352 Constant *GEP = ConstantExpr::getInBoundsGetElementPtr( in allocateByteArrays() local
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp79 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
DInstCombineCompares.cpp230 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
DInstCombinePHI.cpp149 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/
DLinkModulesTest.cpp79 Value *GEP = Builder.CreateGEP(AT, GV, GEPIndices, "switch.gep"); in TEST_F() local
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp232 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/
DGlobalMerge.cpp226 Constant *GEP = in doMerge() local
DStackProtector.cpp176 } else if (const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(U)) { in HasAddressTaken() local
/external/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp122 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(StrippedBasePtr)) in IsPtrInBounds() local

123