Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/Support/
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/Analysis/
DCodeMetrics.cpp59 if (const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(I)) in isInstructionFree() local
DPHITransAddr.cpp215 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in PHITranslateSubExpr() local
398 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in InsertPHITranslatedSubExpr() local
DLoads.cpp62 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in getUnderlyingObjectWithOffset() local
DInlineCost.cpp225 bool CallAnalyzer::isGEPOffsetConstant(GetElementPtrInst &GEP) { in isGEPOffsetConstant()
237 bool CallAnalyzer::accumulateGEPOffset(GEPOperator &GEP, APInt &Offset) { in accumulateGEPOffset()
780 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in stripAndComputeInBoundsConstantOffsets() local
DValueTracking.cpp1595 GEPOperator *GEP = dyn_cast<GEPOperator>(PtrOp); in GetPointerBaseWithConstantOffset() local
1635 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in getConstantStringInfo() local
1775 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in GetUnderlyingObject() local
DScalarEvolutionExpander.cpp566 Value *GEP = Builder.CreateGEP(V, Idx, "uglygep"); in expandAddToGEP() local
607 Value *GEP = Builder.CreateGEP(Casted, in expandAddToGEP() local
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp129 GetElementPtrInst *GEP = GetElementPtrInst::Create(V, ops); in TEST_F() local
/external/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp319 GetElementPtrInst *GEP = in constructFunction() local
421 GetElementPtrInst *GEP = in emitCallAndSwitchStatement() local
447 GetElementPtrInst *GEP in emitCallAndSwitchStatement() local
562 GetElementPtrInst *GEP = in emitCallAndSwitchStatement() local
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp126 Instruction *GEP = in visitAllocaInst() local
466 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr)) { in visitStoreInst() local
DInstCombineCompares.cpp201 FoldCmpLoadFromIndexedGlobal(GetElementPtrInst *GEP, GlobalVariable *GV, in FoldCmpLoadFromIndexedGlobal()
475 static Value *EvaluateGEPOffsetExpression(User *GEP, InstCombiner &IC) { in EvaluateGEPOffsetExpression()
1232 if (GetElementPtrInst *GEP = in visitICmpInstWithInstAndIntCst() local
2258 if (GetElementPtrInst *GEP = in visitICmpInst() local
2271 if (GEPOperator *GEP = dyn_cast<GEPOperator>(Op0)) in visitICmpInst() local
2274 if (GEPOperator *GEP = dyn_cast<GEPOperator>(Op1)) in visitICmpInst() local
2964 if (GetElementPtrInst *GEP = in visitFCmpInst() local
DInstCombinePHI.cpp148 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.cpp794 static bool shouldMergeGEPs(GEPOperator &GEP, GEPOperator &Src) { in shouldMergeGEPs()
804 Instruction *InstCombiner::visitGetElementPtrInst(GetElementPtrInst &GEP) { in visitGetElementPtrInst()
1401 Value *GEP = Builder->CreateInBoundsGEP(L->getPointerOperand(), Indices); in visitExtractValueInst() local
DInstCombineAddSub.cpp412 Value *InstCombiner::EmitGEPOffset(User *GEP) { in EmitGEPOffset()
/external/llvm/lib/VMCore/
DValue.cpp344 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in stripPointerCastsAndOffsets() local
411 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in isDereferenceablePointer() local
DConstants.cpp1665 Constant *GEP = getGetElementPtr( in getSizeOf() local
1680 Constant *GEP = getGetElementPtr(NullPtr, Indices); in getAlignOf() local
1697 Constant *GEP = getGetElementPtr( in getOffsetOf() local
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp352 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(V)) { in isSafeToPromoteArgument() local
390 } else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(U)) { in isSafeToPromoteArgument() local
838 GetElementPtrInst *GEP = cast<GetElementPtrInst>(I->use_back()); in DoPromotion() local
DGlobalOpt.cpp334 } else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(U)) { in CleanupConstantGlobalUsers() local
577 User *GEP = GV->use_back(); in SRAGlobal() local
2466 } else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(CurInst)) { in EvaluateBlock() local
/external/llvm/lib/Transforms/Scalar/
DGlobalMerge.cpp159 Constant *GEP = ConstantExpr::getInBoundsGetElementPtr(MergedGV, Idx); in doMerge() local
DIndVarSimplify.cpp149 if (GEPOperator *GEP = dyn_cast<GEPOperator>(FromVal)) { in isValidRewrite() local
152 if (GEPOperator *GEP = dyn_cast<GEPOperator>(ToVal)) { in isValidRewrite() local
DScalarReplAggregates.cpp449 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(User)) { in CanConvertToScalar() local
536 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(User)) { in ConvertUsesToScalar() local
2517 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(U)) { in isOnlyCopiedFromConstantGlobal() local
DMemCpyOptimizer.cpp41 static int64_t GetOffsetFromIndex(const GetElementPtrInst *GEP, unsigned Idx, in GetOffsetFromIndex()
/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp170 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Addr)) in addrPointsToConstantData() local
/external/llvm/lib/Analysis/IPA/
DGlobalsModRef.cpp261 } else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(U)) { in AnalyzeUsesOfPointer() local
/external/llvm/tools/bugpoint/
DMiscompilation.cpp836 Value *GEP = ConstantExpr::getGetElementPtr(funcName, GEPargs); in CleanupAndPrepareModules() local

12