/external/swiftshader/src/Reactor/ |
D | Optimizer.cpp | 48 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 …]
|
D | SubzeroReactor.cpp | 104 …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/ |
D | IceASanInstrumentation.cpp | 225 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()
|
D | IceCfg.cpp | 813 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 …]
|
D | IceInst.h | 288 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,
|
D | IceInstrumentation.h | 58 virtual void instrumentAlloca(LoweringContext &, class InstAlloca *) {} in instrumentAlloca() argument
|
D | IceInstrumentation.cpp | 64 instrumentAlloca(Context, llvm::cast<InstAlloca>(Instr)); in instrumentInst()
|
D | IceCfg.h | 291 void sortAndCombineAllocas(CfgVector<InstAlloca *> &Allocas,
|
D | IceInst.cpp | 265 InstAlloca::InstAlloca(Cfg *Func, Variable *Dest, Operand *ByteCount, in InstAlloca() function in Ice::InstAlloca 719 void InstAlloca::dump(const Cfg *Func) const { in dump()
|
D | IceTargetLowering.h | 393 virtual void lowerAlloca(const InstAlloca *Instr) = 0;
|
D | IceTargetLowering.cpp | 402 lowerAlloca(llvm::cast<InstAlloca>(Instr)); in lower()
|
D | IceConverter.cpp | 597 return Ice::InstAlloca::create(Func.get(), Dest, ByteCount, Align); in convertAllocaInstruction()
|
D | IceTargetLoweringMIPS32.h | 765 void lowerAlloca(const InstAlloca *Instr) override;
|
D | IceTargetLoweringARM32.h | 210 void lowerAlloca(const InstAlloca *Instr) override;
|
D | IceTargetLoweringX86Base.h | 265 void lowerAlloca(const InstAlloca *Instr) override;
|
D | PNaClTranslator.cpp | 2591 CurrentNode->appendInst(Ice::InstAlloca::create( in ProcessRecord()
|
D | IceTargetLoweringMIPS32.cpp | 2361 void TargetMIPS32::lowerAlloca(const InstAlloca *Instr) { in lowerAlloca() 3367 lowerAlloca(InstAlloca::create(Func, RetVecFloat, ByteCount, Alignment)); in lowerCall()
|
D | IceTargetLoweringARM32.cpp | 2204 void TargetARM32::lowerAlloca(const InstAlloca *Instr) { in lowerAlloca()
|
D | IceTargetLoweringX86BaseImpl.h | 1506 void TargetX86Base<TraitsType>::lowerAlloca(const InstAlloca *Instr) {
|