Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/src/
DIceInst.h775 class InstSwitch : public InstHighLevel {
776 InstSwitch() = delete;
777 InstSwitch(const InstSwitch &) = delete;
778 InstSwitch &operator=(const InstSwitch &) = delete;
781 static InstSwitch *create(Cfg *Func, SizeT NumCases, Operand *Source, in create()
783 return new (Func->allocate<InstSwitch>()) in create()
784 InstSwitch(Func, NumCases, Source, LabelDefault); in create()
805 InstSwitch(Cfg *Func, SizeT NumCases, Operand *Source, CfgNode *LabelDefault);
DIceInst.cpp506 InstSwitch::InstSwitch(Cfg *Func, SizeT NumCases, Operand *Source, in InstSwitch() function in Ice::InstSwitch
520 void InstSwitch::addBranch(SizeT CaseIndex, uint64_t Value, CfgNode *Label) { in addBranch()
526 NodeList InstSwitch::getTerminatorEdges() const { in getTerminatorEdges()
544 bool InstSwitch::repointEdges(CfgNode *OldNode, CfgNode *NewNode) { in repointEdges()
892 void InstSwitch::dump(const Cfg *Func) const { in dump()
DIceSwitchLowering.cpp25 const InstSwitch *Instr) { in clusterizeSwitch()
DIceInstrumentation.h77 virtual void instrumentSwitch(LoweringContext &, class InstSwitch *) {} in instrumentSwitch() argument
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()
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.h418 virtual void lowerSwitch(const InstSwitch *Instr) = 0;
DIceTargetLowering.cpp473 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.cpp5641 void TargetMIPS32::lowerSwitch(const InstSwitch *Instr) { in lowerSwitch()
DIceTargetLoweringARM32.cpp6192 void TargetARM32::lowerSwitch(const InstSwitch *Instr) { in lowerSwitch()
DIceTargetLoweringX86BaseImpl.h7051 void TargetX86Base<TraitsType>::lowerSwitch(const InstSwitch *Instr) {
/external/swiftshader/src/Reactor/
DSubzeroReactor.cpp153 class SwitchCases : public Ice::InstSwitch {};
1278 auto switchInst = Ice::InstSwitch::create(::function, numCases, control, defaultBranch); in createSwitch()