Home
last modified time | relevance | path

Searched defs:GEP (Results 1 – 25 of 51) 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/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp559 GetElementPtrInst *GEP) { in Extract()
573 GetElementPtrInst *GEP) { in Find()
599 GetElementPtrInst *GEP) { in canonicalizeArrayIndicesToPointerSize()
617 SeparateConstOffsetFromGEP::convertInBoundsZExtToSExt(GetElementPtrInst *GEP) { in convertInBoundsZExtToSExt()
654 SeparateConstOffsetFromGEP::accumulateByteOffset(GetElementPtrInst *GEP, in accumulateByteOffset()
677 bool SeparateConstOffsetFromGEP::splitGEP(GetElementPtrInst *GEP) { in splitGEP()
824 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(I++)) { in runOnFunction() local
DLoadCombine.cpp97 if (auto *GEP = dyn_cast<GetElementPtrInst>(POP.Pointer)) { in getPointerOffsetPair() local
/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp112 GEPOperator *GEP) { in hoistAddrSpaceCastFromGEP()
150 if (GEPOperator *GEP = dyn_cast<GEPOperator>(MI->getOperand(Idx))) { in optimizeMemoryInstruction() local
DNVVMReflect.cpp156 const ConstantExpr *GEP = cast<ConstantExpr>(Str); in handleFunction() local
DNVPTXUtilities.cpp380 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in skipPointerTransfer() local
412 } else if (const GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in skipPointerTransfer() local
/external/llvm/lib/Target/R600/
DAMDGPUPromoteAlloca.cpp115 GetElementPtrInst *GEP = cast<GetElementPtrInst>(Ptr); in calculateVectorIndex() local
120 static Value* GEPToVectorIndex(GetElementPtrInst *GEP) { in GEPToVectorIndex()
166 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(AllocaUser); in tryPromoteAllocaToVector() local
DAMDGPUTargetTransformInfo.cpp103 const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(I); in getUnrollingPreferences() local
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp77 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(I)) { in isOnlyCopiedFromConstantGlobal() local
200 Instruction *GEP = in visitAllocaInst() local
625 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr)) { in visitStoreInst() local
DInstCombineCompares.cpp220 FoldCmpLoadFromIndexedGlobal(GetElementPtrInst *GEP, GlobalVariable *GV, in FoldCmpLoadFromIndexedGlobal()
507 static Value *EvaluateGEPOffsetExpression(User *GEP, InstCombiner &IC) { in EvaluateGEPOffsetExpression()
1298 if (GetElementPtrInst *GEP = in visitICmpInstWithInstAndIntCst() local
2797 if (GetElementPtrInst *GEP = in visitICmpInst() local
2810 if (GEPOperator *GEP = dyn_cast<GEPOperator>(Op0)) in visitICmpInst() local
2813 if (GEPOperator *GEP = dyn_cast<GEPOperator>(Op1)) in visitICmpInst() local
3598 if (GetElementPtrInst *GEP = in visitFCmpInst() local
DInstCombinePHI.cpp150 GetElementPtrInst *GEP= dyn_cast<GetElementPtrInst>(PN.getIncomingValue(i)); in FoldPHIArgGEPIntoPHI() local
279 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(L->getOperand(0))) in isSafeAndProfitableToSinkLoad() local
DInstructionCombining.cpp98 Value *InstCombiner::EmitGEPOffset(User *GEP) { in EmitGEPOffset()
928 static bool shouldMergeGEPs(GEPOperator &GEP, GEPOperator &Src) { in shouldMergeGEPs()
1284 Instruction *InstCombiner::visitGetElementPtrInst(GetElementPtrInst &GEP) { in visitGetElementPtrInst()
2136 Value *GEP = Builder->CreateInBoundsGEP(L->getPointerOperand(), Indices); in visitExtractValueInst() local
/external/llvm/lib/IR/
DValue.cpp388 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in stripPointerCastsAndOffsets() local
449 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in stripAndAccumulateInBoundsConstantOffsets() local
512 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in isDereferenceablePointer() 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.cpp418 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) in compute() local
537 SizeOffsetType ObjectSizeOffsetVisitor::visitGEPOperator(GEPOperator &GEP) { in visitGEPOperator()
653 } else if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in compute_() local
733 ObjectSizeOffsetEvaluator::visitGEPOperator(GEPOperator &GEP) { in visitGEPOperator()
DValueTracking.cpp915 static bool isGEPKnownNonNull(GEPOperator *GEP, const DataLayout *DL, in isGEPKnownNonNull()
998 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) in isKnownNonZero() local
1724 if (GEPOperator *GEP = dyn_cast<GEPOperator>(Ptr)) { in GetPointerBaseWithConstantOffset() local
1761 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in getConstantStringInfo() local
1901 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in GetUnderlyingObject() local
/external/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp367 GetElementPtrInst *GEP = in constructFunction() local
468 GetElementPtrInst *GEP = in emitCallAndSwitchStatement() local
494 GetElementPtrInst *GEP in emitCallAndSwitchStatement() local
609 GetElementPtrInst *GEP = in emitCallAndSwitchStatement() local
/external/llvm/unittests/Linker/
DLinkModulesTest.cpp76 Value *GEP = Builder.CreateGEP(GV, GEPIndices, "switch.gep"); in TEST_F() local
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp358 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(V)) { in isSafeToPromoteArgument() local
395 } else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(UR)) { in isSafeToPromoteArgument() local
858 GetElementPtrInst *GEP = cast<GetElementPtrInst>(I->user_back()); in DoPromotion() local
/external/llvm/unittests/IR/
DConstantsTest.cpp267 Constant *GEP = ConstantExpr::getGetElementPtr(Global, One); in TEST() local
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp229 bool CallAnalyzer::isGEPOffsetConstant(GetElementPtrInst &GEP) { in isGEPOffsetConstant()
241 bool CallAnalyzer::accumulateGEPOffset(GEPOperator &GEP, APInt &Offset) { in accumulateGEPOffset()
956 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in stripAndComputeInBoundsConstantOffsets() local
/external/llvm/lib/CodeGen/
DGlobalMerge.cpp222 Constant *GEP = ConstantExpr::getInBoundsGetElementPtr(MergedGV, Idx); in doMerge() local
DStackProtector.cpp174 } else if (const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(U)) { in HasAddressTaken() local
/external/mesa3d/src/gallium/drivers/radeon/
DR600KernelParameters.cpp247 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(V); in Propagate() local
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
DR600KernelParameters.cpp247 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(V); in Propagate() local

123