Home
last modified time | relevance | path

Searched refs:InstBr (Results 1 – 17 of 17) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceInst.h374 class InstBr : public InstHighLevel {
375 InstBr() = delete;
376 InstBr(const InstBr &) = delete;
377 InstBr &operator=(const InstBr &) = delete;
382 static InstBr *create(Cfg *Func, Operand *Source, CfgNode *TargetTrue, in create()
384 return new (Func->allocate<InstBr>()) in create()
385 InstBr(Func, Source, TargetTrue, TargetFalse); in create()
388 static InstBr *create(Cfg *Func, CfgNode *Target) { in create()
389 return new (Func->allocate<InstBr>()) InstBr(Func, Target); in create()
411 InstBr(Cfg *Func, Operand *Source, CfgNode *TargetTrue, CfgNode *TargetFalse);
[all …]
DIceCfgNode.cpp35 if (llvm::isa<InstSwitch>(Instr) || llvm::isa<InstBr>(Instr)) { in appendInst()
241 if (auto *Branch = llvm::dyn_cast<InstBr>(InsertionPoint)) { in placePhiStores()
585 Split->appendInst(InstBr::create(Func, this)); in advancedPhiLowering()
1502 InstBr *Br = nullptr; in shortCircuit()
1503 if ((Br = llvm::dyn_cast<InstBr>(Last))) { in shortCircuit()
1565 if (llvm::isa<InstBr>(It) || llvm::isa<InstRet>(It)) { in shortCircuit()
1614 InstBr *NewInst = nullptr; in shortCircuit()
1619 InstBr::create(Func, FirstOperandDef->getDest(), JumpOnTrue, NewNode); in shortCircuit()
1624 InstBr::create(Func, FirstOperandDef->getDest(), NewNode, JumpOnFalse); in shortCircuit()
DIceInst.cpp314 InstBr::InstBr(Cfg *Func, Operand *Source, CfgNode *TargetTrue_, in InstBr() function in Ice::InstBr
331 InstBr::InstBr(Cfg *Func, CfgNode *Target) in InstBr() function in Ice::InstBr
335 NodeList InstBr::getTerminatorEdges() const { in getTerminatorEdges()
344 bool InstBr::repointEdges(CfgNode *OldNode, CfgNode *NewNode) { in repointEdges()
756 void InstBr::dump(const Cfg *Func) const { in dump()
DIceInstrumentation.h61 virtual void instrumentBr(LoweringContext &, class InstBr *) {} in instrumentBr() argument
DIceInstrumentation.cpp70 instrumentBr(Context, llvm::cast<InstBr>(Instr)); in instrumentInst()
DWasmTranslator.cpp303 Entry->appendInst(InstBr::create(Func, Loop)); in Loop()
322 Control->appendInst(InstBr::create(Func, MergedNode)); in Merge()
951 From->appendInst(InstBr::create(Func, Merge)); in AppendToMerge()
984 Ctrl->appendInst(InstBr::create(Func, CondBool, *TrueNode, *FalseNode)); in Branch()
1167 CallNode->appendInst(InstBr::create(Func, ExitNode)); in CallIndirect()
1406 InstBr::create(Func, Check, CheckPassed, CheckFailed)); in sanitizeAddress()
DIceConverter.cpp370 return Ice::InstBr::create(Func.get(), Src, NodeThen, NodeElse); in convertBrInstruction()
373 return Ice::InstBr::create(Func.get(), mapBasicBlockToNode(BBSucc)); in convertBrInstruction()
DIceTargetLowering.h403 virtual void lowerBr(const InstBr *Instr) = 0;
DIceTargetLoweringX86BaseImpl.h215 if (llvm::isa<InstBr>(Instr))
2617 void TargetX86Base<TraitsType>::lowerBr(const InstBr *Br) {
3473 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) {
3850 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) {
3892 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) {
3913 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) {
3966 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) {
4818 if (auto *NextBr = llvm::dyn_cast<InstBr>(NextInst)) {
DIceTargetLowering.cpp424 lowerBr(llvm::cast<InstBr>(Instr)); in lower()
DIceTargetLoweringMIPS32.h770 void lowerBr(const InstBr *Instr) override;
DPNaClTranslator.cpp2437 CurrentNode->appendInst(Ice::InstBr::create(Func.get(), Block)); in ProcessRecord()
2456 Ice::InstBr::create(Func.get(), Cond, ThenBlock, ElseBlock)); in ProcessRecord()
DIceTargetLoweringARM32.h216 void lowerBr(const InstBr *Instr) override;
DIceTargetLoweringX86Base.h269 void lowerBr(const InstBr *Instr) override;
DIceTargetLoweringMIPS32.cpp3101 void TargetMIPS32::lowerBr(const InstBr *Instr) { in lowerBr()
DIceTargetLoweringARM32.cpp3661 void TargetARM32::lowerBr(const InstBr *Instr) { in lowerBr()
/external/swiftshader/src/Reactor/
DSubzeroReactor.cpp1101 auto br = Ice::InstBr::create(::function, dest); in createBr()
1110 auto br = Ice::InstBr::create(::function, cond, ifTrue, ifFalse); in createCondBr()
4649 auto br = Ice::InstBr::create(::function, origEntryBB); in generateCoroutineBegin()
4759 auto br = Ice::InstBr::create(awaitFunc, done, doneBlock, resumeBlock); in generateAwaitFunction()