Home
last modified time | relevance | path

Searched refs:BasePointer (Results 1 – 18 of 18) sorted by relevance

/external/llvm/lib/CodeGen/
DSafeStack.cpp160 Instruction *BasePointer,
516 Instruction *BasePointer, AllocaInst *StackGuardSlot) { in moveStaticAllocasToUnsafeStack() argument
518 return BasePointer; in moveStaticAllocasToUnsafeStack()
569 IRB.SetInsertPoint(BasePointer->getNextNode()); in moveStaticAllocasToUnsafeStack()
570 BasePointer = cast<Instruction>(IRB.CreateIntToPtr( in moveStaticAllocasToUnsafeStack()
571 IRB.CreateAnd(IRB.CreatePtrToInt(BasePointer, IntPtrTy), in moveStaticAllocasToUnsafeStack()
576 IRB.SetInsertPoint(BasePointer->getNextNode()); in moveStaticAllocasToUnsafeStack()
580 Value *Off = IRB.CreateGEP(BasePointer, // BasePointer is i8* in moveStaticAllocasToUnsafeStack()
598 Value *Off = IRB.CreateGEP(BasePointer, // BasePointer is i8* in moveStaticAllocasToUnsafeStack()
604 replaceDbgDeclare(Arg, BasePointer, BasePointer->getNextNode(), DIB, in moveStaticAllocasToUnsafeStack()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSafeStack.cpp176 Instruction *BasePointer,
490 Instruction *BasePointer, AllocaInst *StackGuardSlot) { in moveStaticAllocasToUnsafeStack() argument
492 return BasePointer; in moveStaticAllocasToUnsafeStack()
543 IRB.SetInsertPoint(BasePointer->getNextNode()); in moveStaticAllocasToUnsafeStack()
544 BasePointer = cast<Instruction>(IRB.CreateIntToPtr( in moveStaticAllocasToUnsafeStack()
545 IRB.CreateAnd(IRB.CreatePtrToInt(BasePointer, IntPtrTy), in moveStaticAllocasToUnsafeStack()
550 IRB.SetInsertPoint(BasePointer->getNextNode()); in moveStaticAllocasToUnsafeStack()
554 Value *Off = IRB.CreateGEP(Int8Ty, BasePointer, // BasePointer is i8* in moveStaticAllocasToUnsafeStack()
573 Value *Off = IRB.CreateGEP(Int8Ty, BasePointer, // BasePointer is i8* in moveStaticAllocasToUnsafeStack()
579 replaceDbgDeclare(Arg, BasePointer, BasePointer->getNextNode(), DIB, in moveStaticAllocasToUnsafeStack()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DSafeStack.cpp178 Instruction *BasePointer,
494 ArrayRef<Argument *> ByValArguments, Instruction *BasePointer, in moveStaticAllocasToUnsafeStack() argument
497 return BasePointer; in moveStaticAllocasToUnsafeStack()
558 IRB.SetInsertPoint(BasePointer->getNextNode()); in moveStaticAllocasToUnsafeStack()
559 BasePointer = cast<Instruction>(IRB.CreateIntToPtr( in moveStaticAllocasToUnsafeStack()
560 IRB.CreateAnd(IRB.CreatePtrToInt(BasePointer, IntPtrTy), in moveStaticAllocasToUnsafeStack()
565 IRB.SetInsertPoint(BasePointer->getNextNode()); in moveStaticAllocasToUnsafeStack()
569 Value *Off = IRB.CreateGEP(Int8Ty, BasePointer, // BasePointer is i8* in moveStaticAllocasToUnsafeStack()
588 Value *Off = IRB.CreateGEP(Int8Ty, BasePointer, // BasePointer is i8* in moveStaticAllocasToUnsafeStack()
594 replaceDbgDeclare(Arg, BasePointer, DIB, DIExpression::ApplyOffset, in moveStaticAllocasToUnsafeStack()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDelinearization.cpp88 const SCEVUnknown *BasePointer = in print() local
91 if (!BasePointer) in print()
93 AccessFn = SE->getMinusSCEV(AccessFn, BasePointer); in print()
108 O << "Base offset: " << *BasePointer << "\n"; in print()
DLoopCacheAnalysis.cpp118 OS << *R.BasePointer; in operator <<()
146 if (BasePointer != Other.getBasePointer() && !isAliased(Other, AA)) { in hasSpacialReuse()
203 if (BasePointer != Other.getBasePointer() && !isAliased(Other, AA)) { in hasTemporalReuse()
324 BasePointer = dyn_cast<SCEVUnknown>(SE.getPointerBase(AccessFn)); in delinearize()
325 if (BasePointer == nullptr) { in delinearize()
332 AccessFn = SE.getMinusSCEV(AccessFn, BasePointer); in delinearize()
/external/llvm/lib/Analysis/
DDelinearization.cpp98 const SCEVUnknown *BasePointer = in print() local
101 if (!BasePointer) in print()
103 AccessFn = SE->getMinusSCEV(AccessFn, BasePointer); in print()
118 O << "Base offset: " << *BasePointer << "\n"; in print()
/external/llvm-project/llvm/lib/Analysis/
DDelinearization.cpp76 const SCEVUnknown *BasePointer = in printDelinearization() local
79 if (!BasePointer) in printDelinearization()
81 AccessFn = SE->getMinusSCEV(AccessFn, BasePointer); in printDelinearization()
96 O << "Base offset: " << *BasePointer << "\n"; in printDelinearization()
DLoopCacheAnalysis.cpp127 OS << *R.BasePointer; in operator <<()
155 if (BasePointer != Other.getBasePointer() && !isAliased(Other, AA)) { in hasSpacialReuse()
212 if (BasePointer != Other.getBasePointer() && !isAliased(Other, AA)) { in hasTemporalReuse()
336 BasePointer = dyn_cast<SCEVUnknown>(SE.getPointerBase(AccessFn)); in delinearize()
337 if (BasePointer == nullptr) { in delinearize()
344 AccessFn = SE.getMinusSCEV(AccessFn, BasePointer); in delinearize()
/external/llvm-project/polly/include/polly/
DScopDetection.h72 const SCEVUnknown *BasePointer; member
77 ArrayShape(const SCEVUnknown *B) : BasePointer(B) {} in ArrayShape()
240 const SCEVUnknown *BasePointer) const;
252 const SCEVUnknown *BasePointer, Loop *Scope) const;
265 const SCEVUnknown *BasePointer,
276 const SCEVUnknown *BasePointer, Loop *Scope) const;
/external/llvm-project/polly/lib/Analysis/
DScopDetection.cpp858 const SCEVUnknown *BasePointer) const { in getDelinearizationTerms()
860 for (const auto &Pair : Context.Accesses[BasePointer]) { in getDelinearizationTerms()
908 const SCEVUnknown *BasePointer, in hasValidArraySizes() argument
919 Value *BaseValue = BasePointer->getValue(); in hasValidArraySizes()
941 Context.Accesses[BasePointer].front().first, BaseValue); in hasValidArraySizes()
949 for (const auto &Pair : Context.Accesses[BasePointer]) { in hasValidArraySizes()
972 DetectionContext &Context, const SCEVUnknown *BasePointer, in computeAccessFunctions() argument
974 Value *BaseValue = BasePointer->getValue(); in computeAccessFunctions()
977 for (const auto &Pair : Context.Accesses[BasePointer]) { in computeAccessFunctions()
1024 const SCEVUnknown *BasePointer, in hasBaseAffineAccesses() argument
[all …]
DScopBuilder.cpp1608 const SCEVUnknown *BasePointer = in buildAccessMultiDimFixed() local
1642 if (BasePtr != BasePointer->getValue()) in buildAccessMultiDimFixed()
1670 addArrayAccess(Stmt, Inst, AccType, BasePointer->getValue(), ElementType, in buildAccessMultiDimFixed()
1688 const SCEVUnknown *BasePointer = in buildAccessMultiDimParam() local
1691 assert(BasePointer && "Could not find base pointer"); in buildAccessMultiDimParam()
1721 addArrayAccess(Stmt, Inst, AccType, BasePointer->getValue(), ElementType, in buildAccessMultiDimParam()
1858 const SCEVUnknown *BasePointer = in buildAccessSingleDim() local
1861 assert(BasePointer && "Could not find base pointer"); in buildAccessSingleDim()
1862 AccessFunction = SE.getMinusSCEV(AccessFunction, BasePointer); in buildAccessSingleDim()
1889 addArrayAccess(Stmt, Inst, AccType, BasePointer->getValue(), ElementType, in buildAccessSingleDim()
/external/llvm-project/llvm/include/llvm/Analysis/
DLoopCacheAnalysis.h54 const SCEV *getBasePointer() const { return BasePointer; } in getBasePointer()
132 const SCEV *BasePointer = nullptr; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DLoopCacheAnalysis.h53 const SCEV *getBasePointer() const { return BasePointer; } in getBasePointer()
131 const SCEV *BasePointer = nullptr; variable
/external/tensorflow/tensorflow/lite/
Darena_planner.cc51 std::intptr_t ArenaPlanner::BasePointer(TfLiteAllocationType type) { in BasePointer() function in tflite::ArenaPlanner
53 return persistent_arena_.BasePointer(); in BasePointer()
56 return arena_.BasePointer(); in BasePointer()
Dsimple_memory_arena_test.cc143 ASSERT_EQ(arena.BasePointer(), 0); in TEST()
150 ASSERT_NE(arena.BasePointer(), 0); in TEST()
Darena_planner.h68 std::intptr_t BasePointer(TfLiteAllocationType type);
Dsimple_memory_arena.h106 std::intptr_t BasePointer() const { in BasePointer() function
Darena_planner_test.cc218 planner_->BasePointer(tensor.allocation_type); in GetOffset()