Home
last modified time | relevance | path

Searched refs:InstSwitch (Results 1 – 20 of 20) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceInst.h780 class InstSwitch : public InstHighLevel {
781 InstSwitch() = delete;
782 InstSwitch(const InstSwitch &) = delete;
783 InstSwitch &operator=(const InstSwitch &) = delete;
786 static InstSwitch *create(Cfg *Func, SizeT NumCases, Operand *Source, in create()
788 return new (Func->allocate<InstSwitch>()) in create()
789 InstSwitch(Func, NumCases, Source, LabelDefault); in create()
810 InstSwitch(Cfg *Func, SizeT NumCases, Operand *Source, CfgNode *LabelDefault);
DIceInstrumentation.h76 virtual void instrumentSwitch(LoweringContext &, class InstSwitch *) {} in instrumentSwitch() argument
DIceSwitchLowering.cpp25 const InstSwitch *Instr) { in clusterizeSwitch()
DIceInst.cpp498 InstSwitch::InstSwitch(Cfg *Func, SizeT NumCases, Operand *Source, in InstSwitch() function in Ice::InstSwitch
512 void InstSwitch::addBranch(SizeT CaseIndex, uint64_t Value, CfgNode *Label) { in addBranch()
518 NodeList InstSwitch::getTerminatorEdges() const { in getTerminatorEdges()
536 bool InstSwitch::repointEdges(CfgNode *OldNode, CfgNode *NewNode) { in repointEdges()
884 void InstSwitch::dump(const Cfg *Func) const { in dump()
DIceSwitchLowering.h66 static CaseClusterArray clusterizeSwitch(Cfg *Func, const InstSwitch *Instr);
DIceInstrumentation.cpp109 instrumentSwitch(Context, llvm::cast<InstSwitch>(Instr)); in instrumentInst()
DIceDefs.h70 class InstSwitch; variable
DIceConverter.cpp541 Ice::InstSwitch *Switch = in convertSwitchInstruction()
542 Ice::InstSwitch::create(Func.get(), NumCases, Source, LabelDefault); in convertSwitchInstruction()
DIceTargetLowering.h411 virtual void lowerSwitch(const InstSwitch *Instr) = 0;
DWasmTranslator.cpp987 InstSwitch *CurrentSwitch = nullptr;
998 CurrentSwitch = InstSwitch::create(Func, Count - 1, Key, Default); in Switch()
1140 auto *Switch = InstSwitch::create(Func, IndirectTable.size(), in CallIndirect()
DIceTargetLowering.cpp460 lowerSwitch(llvm::cast<InstSwitch>(Instr)); in lower()
DIceTargetLoweringMIPS32.h788 void lowerSwitch(const InstSwitch *Instr) override;
DIceCfgNode.cpp35 if (llvm::isa<InstSwitch>(Instr) || llvm::isa<InstBr>(Instr)) { in appendInst()
DPNaClTranslator.cpp2507 std::unique_ptr<Ice::InstSwitch> Switch( in ProcessRecord()
2508 Ice::InstSwitch::create(Func.get(), NumCases, Cond, DefaultLabel)); in ProcessRecord()
DIceTargetLoweringARM32.h292 void lowerSwitch(const InstSwitch *Instr) override;
DIceTargetLoweringX86Base.h285 void lowerSwitch(const InstSwitch *Instr) override;
DIceTargetLoweringMIPS32.cpp5618 void TargetMIPS32::lowerSwitch(const InstSwitch *Instr) { in lowerSwitch()
DIceTargetLoweringARM32.cpp6181 void TargetARM32::lowerSwitch(const InstSwitch *Instr) { in lowerSwitch()
DIceTargetLoweringX86BaseImpl.h7102 void TargetX86Base<TraitsType>::lowerSwitch(const InstSwitch *Instr) {
/external/swiftshader/src/Reactor/
DSubzeroReactor.cpp381 class SwitchCases : public Ice::InstSwitch
1947 auto switchInst = Ice::InstSwitch::create(::function, numCases, control, defaultBranch); in createSwitch()