Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/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/include/llvm/IR/
DGetElementPtrTypeIterator.h97 inline gep_type_iterator gep_type_begin(const User *GEP) { in gep_type_begin()
105 inline gep_type_iterator gep_type_end(const User *GEP) { in gep_type_end()
108 inline gep_type_iterator gep_type_begin(const User &GEP) { in gep_type_begin()
116 inline gep_type_iterator gep_type_end(const User &GEP) { in gep_type_end()
/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp302 static bool isGEPFoldable(GetElementPtrInst *GEP, in isGEPFoldable()
311 Instruction *NaryReassociate::tryReassociateGEP(GetElementPtrInst *GEP) { in tryReassociateGEP()
328 GetElementPtrInst *GEP) { in requiresSignExtension()
335 NaryReassociate::tryReassociateGEPAtIndex(GetElementPtrInst *GEP, unsigned I, in tryReassociateGEPAtIndex()
370 GetElementPtrInst *GEP, unsigned I, Value *LHS, Value *RHS, in tryReassociateGEPAtIndex()
DStraightLineStrengthReduce.cpp88 GEP, // &B[..][i * S][..] enumerator
237 static bool isGEPFoldable(GetElementPtrInst *GEP, in isGEPFoldable()
266 static bool hasOnlyOneNonZeroIndex(GetElementPtrInst *GEP) { in hasOnlyOneNonZeroIndex()
450 GetElementPtrInst *GEP) { in factorArrayIndex()
483 GetElementPtrInst *GEP) { in allocateCandidatesAndFindBasisForGEP()
DSeparateConstOffsetFromGEP.cpp690 Value *ConstantOffsetExtractor::Extract(Value *Idx, GetElementPtrInst *GEP, in Extract()
708 int64_t ConstantOffsetExtractor::Find(Value *Idx, GetElementPtrInst *GEP, in Find()
718 GetElementPtrInst *GEP) { in canonicalizeArrayIndicesToPointerSize()
736 SeparateConstOffsetFromGEP::accumulateByteOffset(GetElementPtrInst *GEP, in accumulateByteOffset()
885 bool SeparateConstOffsetFromGEP::splitGEP(GetElementPtrInst *GEP) { in splitGEP()
1080 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(I++)) in runOnFunction() local
/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp149 GEPOperator *GEP, int Depth) { in hoistAddrSpaceCastFromGEP()
237 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) in hoistAddrSpaceCastFrom() local
DNVVMReflect.cpp177 const ConstantExpr *GEP = cast<ConstantExpr>(Str); in runOnFunction() local
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp354 GetElementPtrInst *GEP = cast<GetElementPtrInst>(Ptr); in calculateVectorIndex() local
360 static Value* GEPToVectorIndex(GetElementPtrInst *GEP) { in GEPToVectorIndex()
409 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(AllocaUser); in tryPromoteAllocaToVector() local
593 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(UseInst)) { in collectUsesWithPtrTypes() local
DAMDGPUTargetTransformInfo.cpp44 const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(&I); in getUnrollingPreferences() local
/external/swiftshader/third_party/LLVM/unittests/Transforms/Utils/
DCloning.cpp127 GetElementPtrInst *GEP = GetElementPtrInst::Create(V, ops); in TEST_F() local
/external/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp357 GetElementPtrInst *GEP = GetElementPtrInst::Create( in constructFunction() local
457 GetElementPtrInst *GEP = GetElementPtrInst::Create( in emitCallAndSwitchStatement() local
482 GetElementPtrInst *GEP = GetElementPtrInst::Create( in emitCallAndSwitchStatement() local
598 GetElementPtrInst *GEP = GetElementPtrInst::Create( in emitCallAndSwitchStatement() local
/external/llvm/lib/Analysis/
DPHITransAddr.cpp217 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in PHITranslateSubExpr() local
400 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in InsertPHITranslatedSubExpr() local
DTypeMetadataUtils.cpp51 } else if (auto GEP = dyn_cast<GetElementPtrInst>(User)) { in findLoadCallsAtConstantOffset() local
DMemoryBuiltins.cpp425 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) in compute() local
568 SizeOffsetType ObjectSizeOffsetVisitor::visitGEPOperator(GEPOperator &GEP) { in visitGEPOperator()
703 } else if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in compute_() local
780 ObjectSizeOffsetEvaluator::visitGEPOperator(GEPOperator &GEP) { in visitGEPOperator()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp60 Instruction *GEP = in visitAllocaInst() local
397 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr)) { in visitStoreInst() local
DInstCombineCompares.cpp201 FoldCmpLoadFromIndexedGlobal(GetElementPtrInst *GEP, GlobalVariable *GV, in FoldCmpLoadFromIndexedGlobal()
470 static Value *EvaluateGEPOffsetExpression(User *GEP, InstCombiner &IC) { in EvaluateGEPOffsetExpression()
1206 if (GetElementPtrInst *GEP = in visitICmpInstWithInstAndIntCst() local
2206 if (GetElementPtrInst *GEP = in visitICmpInst() local
2219 if (GEPOperator *GEP = dyn_cast<GEPOperator>(Op0)) in visitICmpInst() local
2222 if (GEPOperator *GEP = dyn_cast<GEPOperator>(Op1)) in visitICmpInst() local
2899 if (GetElementPtrInst *GEP = in visitFCmpInst() local
DInstCombineAddSub.cpp401 Value *InstCombiner::EmitGEPOffset(User *GEP) { in EmitGEPOffset()
469 GetElementPtrInst *GEP = 0; in OptimizePointerDifference() local
/external/swiftshader/third_party/LLVM/lib/Analysis/
DPHITransAddr.cpp216 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in PHITranslateSubExpr() local
399 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in InsertPHITranslatedSubExpr() local
DLoads.cpp61 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in getUnderlyingObjectWithOffset() local
/external/swiftshader/third_party/LLVM/lib/VMCore/
DValue.cpp322 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in stripPointerCasts() local
363 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(this)) { in isDereferenceablePointer() local
/external/swiftshader/third_party/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/IPO/
DArgumentPromotion.cpp502 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(V)) { in isSafeToPromoteArgument() local
539 } else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(UR)) { in isSafeToPromoteArgument() local
983 GetElementPtrInst *GEP = cast<GetElementPtrInst>(I->user_back()); in DoPromotion() local
/external/swiftshader/third_party/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
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp235 FoldCmpLoadFromIndexedGlobal(GetElementPtrInst *GEP, GlobalVariable *GV, in FoldCmpLoadFromIndexedGlobal()
512 static Value *EvaluateGEPOffsetExpression(User *GEP, InstCombiner &IC, in EvaluateGEPOffsetExpression()
651 if (auto *GEP = dyn_cast<GEPOperator>(V)) { in canRewriteGEPAsOffset() local
770 if (auto *GEP = dyn_cast<GEPOperator>(Val)) { in rewriteGEPAsOffset() local
830 Value *GEP = Builder.CreateInBoundsGEP( in rewriteGEPAsOffset() local
855 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in getAsConstantIndexedAddress() local
1836 if (GetElementPtrInst *GEP = in visitICmpInstWithInstAndIntCst() local
3715 if (GetElementPtrInst *GEP = in visitICmpInst() local
3728 if (GEPOperator *GEP = dyn_cast<GEPOperator>(Op0)) in visitICmpInst() local
3731 if (GEPOperator *GEP = dyn_cast<GEPOperator>(Op1)) in visitICmpInst() local
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMGlobalMerge.cpp153 Constant *GEP = ConstantExpr::getInBoundsGetElementPtr(MergedGV, Idx); in doMerge() local

12345