Home
last modified time | relevance | path

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

/external/swiftshader/src/Reactor/
DOptimizer.cpp48 Ice::InstAlloca *allocaOf(Ice::Operand *address);
142 auto *alloca = llvm::dyn_cast<Ice::InstAlloca>(&inst); in propagateAlloca()
201 std::vector<Ice::InstAlloca *> newAllocas; in performScalarReplacementOfAggregates()
213 auto *alloca = llvm::dyn_cast<Ice::InstAlloca>(&inst); in performScalarReplacementOfAggregates()
242 auto *alloca = Ice::InstAlloca::create(function, newAddress[i], bytes, alignInBytes); in performScalarReplacementOfAggregates()
333 if(!llvm::isa<Ice::InstAlloca>(alloca)) in eliminateUnitializedLoads()
399 std::unordered_map<const Ice::InstAlloca *, LastStore> lastStoreTo; in optimizeSingleBasicBlockLoadsStores()
412 if(Ice::InstAlloca *alloca = allocaOf(address)) in optimizeSingleBasicBlockLoadsStores()
437 if(Ice::InstAlloca *alloca = allocaOf(inst.getLoadAddress())) in optimizeSingleBasicBlockLoadsStores()
579 if(def && llvm::isa<Ice::InstAlloca>(def)) in isDead()
[all …]
DSubzeroReactor.cpp104 …auto alloca = Ice::InstAlloca::create(function, address, bytes, typeSize); // SRoA depends on the… in allocateStackVariable()
1107 …auto alloca = Ice::InstAlloca::create(::function, address, bytes, typeSize); // SRoA depends on t… in allocateStackVariable()
/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.cpp813 void Cfg::sortAndCombineAllocas(CfgVector<InstAlloca *> &Allocas, in sortAndCombineAllocas()
819 std::sort(Allocas.begin(), Allocas.end(), [](InstAlloca *A1, InstAlloca *A2) { in sortAndCombineAllocas()
834 auto *Alloca = llvm::cast<InstAlloca>(Instr); in sortAndCombineAllocas()
870 auto *Alloca = llvm::cast<InstAlloca>(Allocas[i]); in sortAndCombineAllocas()
880 InstAlloca *CombinedAlloca = in sortAndCombineAllocas()
881 InstAlloca::create(this, BaseVariable, AllocaSize, CombinedAlignment); in sortAndCombineAllocas()
888 auto *Alloca = llvm::cast<InstAlloca>(Allocas[i]); in sortAndCombineAllocas()
926 if (auto *Alloca = llvm::dyn_cast<InstAlloca>(&Instr)) { in processAllocas()
951 if (llvm::isa<InstAlloca>(&Instr)) { in processAllocas()
966 CfgVector<InstAlloca *> FixedAllocas; in processAllocas()
[all …]
DIceInst.h288 class InstAlloca : public InstHighLevel {
289 InstAlloca() = delete;
290 InstAlloca(const InstAlloca &) = delete;
291 InstAlloca &operator=(const InstAlloca &) = delete;
294 static InstAlloca *create(Cfg *Func, Variable *Dest, Operand *ByteCount, in create()
296 return new (Func->allocate<InstAlloca>()) in create()
297 InstAlloca(Func, Dest, ByteCount, AlignInBytes); in create()
308 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.h291 void sortAndCombineAllocas(CfgVector<InstAlloca *> &Allocas,
DIceInst.cpp265 InstAlloca::InstAlloca(Cfg *Func, Variable *Dest, Operand *ByteCount, in InstAlloca() function in Ice::InstAlloca
719 void InstAlloca::dump(const Cfg *Func) const { in dump()
DIceTargetLowering.h393 virtual void lowerAlloca(const InstAlloca *Instr) = 0;
DIceTargetLowering.cpp402 lowerAlloca(llvm::cast<InstAlloca>(Instr)); in lower()
DIceConverter.cpp597 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.cpp2361 void TargetMIPS32::lowerAlloca(const InstAlloca *Instr) { in lowerAlloca()
3367 lowerAlloca(InstAlloca::create(Func, RetVecFloat, ByteCount, Alignment)); in lowerCall()
DIceTargetLoweringARM32.cpp2204 void TargetARM32::lowerAlloca(const InstAlloca *Instr) { in lowerAlloca()
DIceTargetLoweringX86BaseImpl.h1506 void TargetX86Base<TraitsType>::lowerAlloca(const InstAlloca *Instr) {