Home
last modified time | relevance | path

Searched refs:GEPOp (Results 1 – 14 of 14) 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-7.0/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h129 auto *GEPOp = cast<GEPOperator>(GEP); in gep_type_begin() local
131 GEPOp->getSourceElementType(), in gep_type_begin()
140 auto &GEPOp = cast<GEPOperator>(GEP); in gep_type_begin() local
142 GEPOp.getSourceElementType(), in gep_type_begin()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCFLGraph.h314 void visitGEP(GEPOperator &GEPOp) { in visitGEP() argument
316 APInt APOffset(DL.getPointerSizeInBits(GEPOp.getPointerAddressSpace()), in visitGEP()
318 if (GEPOp.accumulateConstantOffset(DL, APOffset)) in visitGEP()
321 auto *Op = GEPOp.getPointerOperand(); in visitGEP()
322 addAssignEdge(Op, &GEPOp, Offset); in visitGEP()
326 auto *GEPOp = cast<GEPOperator>(&Inst); in visitGetElementPtrInst() local
327 visitGEP(*GEPOp); in visitGetElementPtrInst()
512 auto GEPOp = cast<GEPOperator>(CE); in visitConstantExpr() local
513 visitGEP(*GEPOp); in visitConstantExpr()
DPHITransAddr.cpp219 Value *GEPOp = PHITranslateSubExpr(GEP->getOperand(i), CurBB, PredBB, DT); in PHITranslateSubExpr() local
220 if (!GEPOp) return nullptr; in PHITranslateSubExpr()
222 AnyChanged |= GEPOp != GEP->getOperand(i); in PHITranslateSubExpr()
223 GEPOps.push_back(GEPOp); in PHITranslateSubExpr()
DBasicAliasAnalysis.cpp437 const GEPOperator *GEPOp = dyn_cast<GEPOperator>(Op); in DecomposeGEPExpression() local
438 if (!GEPOp) { in DecomposeGEPExpression()
473 if (!GEPOp->getSourceElementType()->isSized()) { in DecomposeGEPExpression()
478 unsigned AS = GEPOp->getPointerAddressSpace(); in DecomposeGEPExpression()
480 gep_type_iterator GTI = gep_type_begin(GEPOp); in DecomposeGEPExpression()
484 for (User::const_op_iterator I = GEPOp->op_begin() + 1, E = GEPOp->op_end(); in DecomposeGEPExpression()
571 V = GEPOp->getOperand(0); in DecomposeGEPExpression()
1180 bool BasicAAResult::isGEPBaseAtNegativeOffset(const GEPOperator *GEPOp, in isGEPBaseAtNegativeOffset() argument
1184 if (ObjectAccessSize == MemoryLocation::UnknownSize || !GEPOp->isInBounds()) in isGEPBaseAtNegativeOffset()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/Utils/
DLocal.h31 GEPOperator *GEPOp = cast<GEPOperator>(GEP); variable
37 bool isInBounds = GEPOp->isInBounds() && !NoAssumptions;
/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/tensorflow/tensorflow/compiler/xla/service/mlir_gpu/
Dmlir_compiler.cc314 auto structPtrAddr = builder.create<mlir::LLVM::GEPOp>( in InsertBufferLoadPreduleIntoKernel()
320 structPtrAddr = builder.create<mlir::LLVM::GEPOp>( in InsertBufferLoadPreduleIntoKernel()
325 auto structOffsetAddr = builder.create<mlir::LLVM::GEPOp>( in InsertBufferLoadPreduleIntoKernel()
340 auto shapeEntryPtr = builder.create<mlir::LLVM::GEPOp>( in InsertBufferLoadPreduleIntoKernel()
354 auto strideEntryPtr = builder.create<mlir::LLVM::GEPOp>( in InsertBufferLoadPreduleIntoKernel()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/FuzzMutate/
DOperationsTest.cpp293 auto GEPOp = fuzzerop::gepDescriptor(1); in TEST() local
294 EXPECT_TRUE(GEPOp.SourcePreds[0].matches({}, UndefValue::get(Int8PtrTy))); in TEST()
295 EXPECT_TRUE(GEPOp.SourcePreds[1].matches({UndefValue::get(Int8PtrTy)}, in TEST()
298 GEPOp.BuilderFunc({UndefValue::get(Int8PtrTy), ConstantInt::get(Int32Ty, 0)}, in TEST()
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h190 GEPOperator *GEPOp = cast<GEPOperator>(GEP); variable
196 bool isInBounds = GEPOp->isInBounds() && !NoAssumptions;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUInstructionSelector.cpp406 const MachineOperand &GEPOp = PtrMI->getOperand(i); in getAddrModeInfo() local
407 const MachineInstr *OpDef = MRI.getUniqueVRegDef(GEPOp.getReg()); in getAddrModeInfo()
416 const RegisterBank *OpBank = RBI.getRegBank(GEPOp.getReg(), MRI, TRI); in getAddrModeInfo()
418 GEPInfo.SgprParts.push_back(GEPOp.getReg()); in getAddrModeInfo()
420 GEPInfo.VgprParts.push_back(GEPOp.getReg()); in getAddrModeInfo()
/external/llvm/include/llvm/Analysis/
DBasicAliasAnalysis.h159 static bool isGEPBaseAtNegativeOffset(const GEPOperator *GEPOp,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DBasicAliasAnalysis.h177 static bool isGEPBaseAtNegativeOffset(const GEPOperator *GEPOp,