Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceInst.h357 class InstAssign : public InstHighLevel {
358 InstAssign() = delete;
359 InstAssign(const InstAssign &) = delete;
360 InstAssign &operator=(const InstAssign &) = delete;
363 static InstAssign *create(Cfg *Func, Variable *Dest, Operand *Source) { in create()
364 return new (Func->allocate<InstAssign>()) InstAssign(Func, Dest, Source); in create()
372 InstAssign(Cfg *Func, Variable *Dest, Operand *Source);
DIceTargetLowering.h360 virtual void lowerAssign(const InstAssign *Instr) = 0;
481 Context.insert<InstAssign>(T, Undef); in scalarizeInstruction()
511 Context.insert<InstAssign>(Dest, T); in scalarizeInstruction()
DIceInst.cpp294 InstAssign::InstAssign(Cfg *Func, Variable *Dest, Operand *Source) in InstAssign() function in Ice::InstAssign
299 bool InstAssign::isVarAssign() const { return llvm::isa<Variable>(getSrc(0)); } in isVarAssign()
461 return InstAssign::create(Func, Dest, NewSrc); in lower()
730 void InstAssign::dump(const Cfg *Func) const { in dump()
DIceTargetLoweringARM32.cpp1231 Context.insert<InstAssign>(Arg, RegisterArg); in lowerArguments()
3334 void TargetARM32::lowerAssign(const InstAssign *Instr) { in lowerAssign()
3961 auto *Assign = InstAssign::create(Func, Dest, Src0); in lowerCast()
3987 lowerAssign(InstAssign::create(Func, Dest, T)); in lowerCast()
4002 lowerAssign(InstAssign::create(Func, Dest, T)); in lowerCast()
4015 lowerAssign(InstAssign::create(Func, Src64, Src0)); in lowerCast()
4017 lowerAssign(InstAssign::create(Func, Dest, T)); in lowerCast()
4734 lowerAssign(InstAssign::create(Func, ContentsR, Tmp)); in lowerAtomicRMW()
4736 lowerAssign(InstAssign::create(Func, ResultR, ValRF)); in lowerAtomicRMW()
4749 lowerAssign(InstAssign::create(Func, Dest, ContentsR)); in lowerAtomicRMW()
[all …]
DIceCfgNode.cpp264 auto *NewInst = InstAssign::create(Func, Dest, Operand); in placePhiStores()
496 Split->appendInst(InstAssign::create(Func, Dest, Src)); in advancedPhiLowering()
568 Split->appendInst(InstAssign::create(Func, Tmp, OtherSrc)); in advancedPhiLowering()
580 Split->appendInst(InstAssign::create(Func, Dest, Src)); in advancedPhiLowering()
DIceTargetLoweringMIPS32.cpp279 Context.insert<InstAssign>(T, Undef); in genTargetHelperCallFor()
296 Context.insert<InstAssign>(Dest, T); in genTargetHelperCallFor()
308 Context.insert<InstAssign>(T, Undef); in genTargetHelperCallFor()
323 Context.insert<InstAssign>(Dest, T); in genTargetHelperCallFor()
336 Context.insert<InstAssign>(T, Undef); in genTargetHelperCallFor()
351 Context.insert<InstAssign>(Dest, T); in genTargetHelperCallFor()
429 Context.insert<InstAssign>(T, Undef); in genTargetHelperCallFor()
440 Context.insert<InstAssign>(Dest, T); in genTargetHelperCallFor()
590 Context.insert<InstAssign>(T, Undef); in genTargetHelperCallFor()
606 Context.insert<InstAssign>(Dest, T); in genTargetHelperCallFor()
[all …]
DIceDefs.h67 class InstAssign; variable
DIceCfg.cpp783 auto *Assign = InstAssign::create(Node->getCfg(), NewVar, Pair.first); in floatConstantCSE()
791 InstAssign::create(Node->getCfg(), NewVar, ConstCache[Pair.first]); in floatConstantCSE()
1046 if (!llvm::isa<InstAssign>(Instr)) in rematerializeAssign()
DIceRegAlloc.cpp442 Target->lowerInst(Node, SpillPoint, InstAssign::create(Func, SpillLoc, Preg)); in addSpillFill()
444 Target->lowerInst(Node, FillPoint, InstAssign::create(Func, Preg, SpillLoc)); in addSpillFill()
DIceConverter.cpp380 return Ice::InstAssign::create(Func.get(), Dest, Src); in convertIntToPtrInstruction()
386 return Ice::InstAssign::create(Func.get(), Dest, Src); in convertPtrToIntInstruction()
DIceTargetLoweringX8664.cpp1332 Context.insert<InstAssign>(Arg, RegisterArg); in lowerArguments()
1335 Context.insert<InstAssign>(Tmp, RegisterArg); in lowerArguments()
1336 Context.insert<InstAssign>(Arg, Tmp); in lowerArguments()
2161 void TargetX8664::lowerAssign(const InstAssign *Instr) { in lowerAssign()
2631 auto *Assign = InstAssign::create(Func, Dest, Src0); in lowerCast()
3891 CfgVector<InstAssign *> PhiAssigns; in tryOptimizedCmpxchgCmpBr()
3892 while (auto *PhiAssign = llvm::dyn_cast<InstAssign>(NextInst)) { in tryOptimizedCmpxchgCmpBr()
3917 InstAssign *PhiAssign = PhiAssigns[i]; in tryOptimizedCmpxchgCmpBr()
4486 if (llvm::isa<InstAssign>(VarAssign)) { in matchAssign()
4993 auto *Assign = InstAssign::create(Func, DestLoad, Src0); in lowerLoad()
DIceTargetLoweringX8632.cpp1409 Context.insert<InstAssign>(Arg, RegisterArg); in lowerArguments()
1412 Context.insert<InstAssign>(Tmp, RegisterArg); in lowerArguments()
1413 Context.insert<InstAssign>(Arg, Tmp); in lowerArguments()
2345 void TargetX8632::lowerAssign(const InstAssign *Instr) { in lowerAssign()
2877 auto *Assign = InstAssign::create(Func, Dest, Src0); in lowerCast()
4375 CfgVector<InstAssign *> PhiAssigns; in tryOptimizedCmpxchgCmpBr()
4376 while (auto *PhiAssign = llvm::dyn_cast<InstAssign>(NextInst)) { in tryOptimizedCmpxchgCmpBr()
4401 InstAssign *PhiAssign = PhiAssigns[i]; in tryOptimizedCmpxchgCmpBr()
5065 if (llvm::isa<InstAssign>(VarAssign)) { in matchAssign()
5583 auto *Assign = InstAssign::create(Func, DestLoad, Src0); in lowerLoad()
DIceTargetLowering.cpp377 lowerAssign(llvm::cast<InstAssign>(Instr)); in lower()
DIceTargetLoweringMIPS32.h737 void lowerAssign(const InstAssign *Instr) override;
DIceTargetLoweringX8664.h261 void lowerAssign(const InstAssign *Instr) override;
DIceTargetLoweringX8632.h265 void lowerAssign(const InstAssign *Instr) override;
DIceTargetLoweringARM32.h214 void lowerAssign(const InstAssign *Instr) override;
DPNaClTranslator.cpp2091 CurrentNode->appendInst(Ice::InstAssign::create(Func.get(), Var, Var)); in appendErrorInstruction()