Home
last modified time | relevance | path

Searched refs:GEPOp (Results 1 – 7 of 7) sorted by relevance

/external/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h98 auto *GEPOp = cast<GEPOperator>(GEP); in gep_type_begin() local
100 GEPOp->getSourceElementType(), in gep_type_begin()
101 cast<PointerType>(GEPOp->getPointerOperandType()->getScalarType()) in gep_type_begin()
109 auto &GEPOp = cast<GEPOperator>(GEP); in gep_type_begin() local
111 GEPOp.getSourceElementType(), in gep_type_begin()
112 cast<PointerType>(GEPOp.getPointerOperandType()->getScalarType()) in gep_type_begin()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DBasicAliasAnalysis.cpp285 const GEPOperator *GEPOp = dyn_cast<GEPOperator>(Op); in DecomposeGEPExpression() local
286 if (GEPOp == 0) { in DecomposeGEPExpression()
301 if (!cast<PointerType>(GEPOp->getOperand(0)->getType()) in DecomposeGEPExpression()
309 if (!GEPOp->hasAllZeroIndices()) in DecomposeGEPExpression()
311 V = GEPOp->getOperand(0); in DecomposeGEPExpression()
316 gep_type_iterator GTI = gep_type_begin(GEPOp); in DecomposeGEPExpression()
317 for (User::const_op_iterator I = GEPOp->op_begin()+1, in DecomposeGEPExpression()
318 E = GEPOp->op_end(); I != E; ++I) { in DecomposeGEPExpression()
385 V = GEPOp->getOperand(0); in DecomposeGEPExpression()
DPHITransAddr.cpp220 Value *GEPOp = PHITranslateSubExpr(GEP->getOperand(i), CurBB, PredBB, DT); in PHITranslateSubExpr() local
221 if (GEPOp == 0) return 0; in PHITranslateSubExpr()
223 AnyChanged |= GEPOp != GEP->getOperand(i); in PHITranslateSubExpr()
224 GEPOps.push_back(GEPOp); in PHITranslateSubExpr()
/external/llvm/lib/Analysis/
DPHITransAddr.cpp221 Value *GEPOp = PHITranslateSubExpr(GEP->getOperand(i), CurBB, PredBB, DT); in PHITranslateSubExpr() local
222 if (!GEPOp) return nullptr; in PHITranslateSubExpr()
224 AnyChanged |= GEPOp != GEP->getOperand(i); in PHITranslateSubExpr()
225 GEPOps.push_back(GEPOp); in PHITranslateSubExpr()
DBasicAliasAnalysis.cpp377 const GEPOperator *GEPOp = dyn_cast<GEPOperator>(Op); in DecomposeGEPExpression() local
378 if (!GEPOp) { in DecomposeGEPExpression()
403 if (!GEPOp->getSourceElementType()->isSized()) { in DecomposeGEPExpression()
408 unsigned AS = GEPOp->getPointerAddressSpace(); in DecomposeGEPExpression()
410 gep_type_iterator GTI = gep_type_begin(GEPOp); in DecomposeGEPExpression()
412 for (User::const_op_iterator I = GEPOp->op_begin() + 1, E = GEPOp->op_end(); in DecomposeGEPExpression()
488 V = GEPOp->getOperand(0); in DecomposeGEPExpression()
982 bool BasicAAResult::isGEPBaseAtNegativeOffset(const GEPOperator *GEPOp, in isGEPBaseAtNegativeOffset() argument
986 if (ObjectAccessSize == MemoryLocation::UnknownSize || !GEPOp->isInBounds()) in isGEPBaseAtNegativeOffset()
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h190 GEPOperator *GEPOp = cast<GEPOperator>(GEP); variable
196 bool isInBounds = GEPOp->isInBounds() && !NoAssumptions;
/external/llvm/include/llvm/Analysis/
DBasicAliasAnalysis.h159 static bool isGEPBaseAtNegativeOffset(const GEPOperator *GEPOp,