Home
last modified time | relevance | path

Searched refs:InstAlloca (Results 1 – 19 of 19) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceASanInstrumentation.cpp225 std::vector<InstAlloca *> NewAllocas; in instrumentFuncStart()
230 InstAlloca *Cur; in instrumentFuncStart()
233 Cur = llvm::dyn_cast<InstAlloca>(iteratorToInst(Context.getCur())); in instrumentFuncStart()
252 InstAlloca::create(Func, LastRzVar, ByteCount, Alignment)); in instrumentFuncStart()
283 InstAlloca::create(Func, Dest, ByteCount, Alignment)); in instrumentFuncStart()
302 for (InstAlloca *RzAlloca : NewAllocas) { in instrumentFuncStart()
DIceCfg.cpp910 void Cfg::sortAndCombineAllocas(CfgVector<InstAlloca *> &Allocas, in sortAndCombineAllocas()
916 std::sort(Allocas.begin(), Allocas.end(), [](InstAlloca *A1, InstAlloca *A2) { in sortAndCombineAllocas()
931 auto *Alloca = llvm::cast<InstAlloca>(Instr); in sortAndCombineAllocas()
967 auto *Alloca = llvm::cast<InstAlloca>(Allocas[i]); in sortAndCombineAllocas()
977 InstAlloca *CombinedAlloca = in sortAndCombineAllocas()
978 InstAlloca::create(this, BaseVariable, AllocaSize, CombinedAlignment); in sortAndCombineAllocas()
985 auto *Alloca = llvm::cast<InstAlloca>(Allocas[i]); in sortAndCombineAllocas()
1023 if (auto *Alloca = llvm::dyn_cast<InstAlloca>(&Instr)) { in processAllocas()
1048 if (llvm::isa<InstAlloca>(&Instr)) { in processAllocas()
1063 CfgVector<InstAlloca *> FixedAllocas; in processAllocas()
[all …]
DIceInst.h283 class InstAlloca : public InstHighLevel {
284 InstAlloca() = delete;
285 InstAlloca(const InstAlloca &) = delete;
286 InstAlloca &operator=(const InstAlloca &) = delete;
289 static InstAlloca *create(Cfg *Func, Variable *Dest, Operand *ByteCount, in create()
291 return new (Func->allocate<InstAlloca>()) in create()
292 InstAlloca(Func, Dest, ByteCount, AlignInBytes); in create()
303 InstAlloca(Cfg *Func, Variable *Dest, Operand *ByteCount,
DIceInstrumentation.h58 virtual void instrumentAlloca(LoweringContext &, class InstAlloca *) {} in instrumentAlloca() argument
DIceInstrumentation.cpp64 instrumentAlloca(Context, llvm::cast<InstAlloca>(Instr)); in instrumentInst()
DIceCfg.h304 void sortAndCombineAllocas(CfgVector<InstAlloca *> &Allocas,
DIceInst.cpp273 InstAlloca::InstAlloca(Cfg *Func, Variable *Dest, Operand *ByteCount, in InstAlloca() function in Ice::InstAlloca
727 void InstAlloca::dump(const Cfg *Func) const { in dump()
DIceTargetLowering.h400 virtual void lowerAlloca(const InstAlloca *Instr) = 0;
DIceTargetLowering.cpp415 lowerAlloca(llvm::cast<InstAlloca>(Instr)); in lower()
DIceConverter.cpp595 return Ice::InstAlloca::create(Func.get(), Dest, ByteCount, Align); in convertAllocaInstruction()
DIceTargetLoweringMIPS32.h765 void lowerAlloca(const InstAlloca *Instr) override;
DIceTargetLoweringARM32.h210 void lowerAlloca(const InstAlloca *Instr) override;
DIceTargetLoweringX86Base.h265 void lowerAlloca(const InstAlloca *Instr) override;
DPNaClTranslator.cpp2591 CurrentNode->appendInst(Ice::InstAlloca::create( in ProcessRecord()
DIceTargetLoweringMIPS32.cpp2376 void TargetMIPS32::lowerAlloca(const InstAlloca *Instr) { in lowerAlloca()
3382 lowerAlloca(InstAlloca::create(Func, RetVecFloat, ByteCount, Alignment)); in lowerCall()
DIceTargetLoweringARM32.cpp2210 void TargetARM32::lowerAlloca(const InstAlloca *Instr) { in lowerAlloca()
DIceTargetLoweringX86BaseImpl.h1456 void TargetX86Base<TraitsType>::lowerAlloca(const InstAlloca *Instr) {
/external/swiftshader/src/Reactor/
DOptimizer.cpp151 if(!llvm::isa<Ice::InstAlloca>(alloca)) in eliminateUnitializedLoads()
214 if(!llvm::isa<Ice::InstAlloca>(alloca)) in eliminateLoadsFollowingSingleStore()
325 if(!llvm::isa<Ice::InstAlloca>(alloca)) in optimizeStoresInSingleBasicBlock()
546 if(def && llvm::isa<Ice::InstAlloca>(def)) in isDead()
DSubzeroReactor.cpp633 auto alloca = Ice::InstAlloca::create(::function, address, bytes, typeSize); in allocateStackVariable()