Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/src/
DIceInst.h379 class InstBr : public InstHighLevel {
380 InstBr() = delete;
381 InstBr(const InstBr &) = delete;
382 InstBr &operator=(const InstBr &) = delete;
387 static InstBr *create(Cfg *Func, Operand *Source, CfgNode *TargetTrue, in create()
389 return new (Func->allocate<InstBr>()) in create()
390 InstBr(Func, Source, TargetTrue, TargetFalse); in create()
393 static InstBr *create(Cfg *Func, CfgNode *Target) { in create()
394 return new (Func->allocate<InstBr>()) InstBr(Func, Target); in create()
416 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()
1453 InstBr *Br = nullptr; in shortCircuit()
1454 if ((Br = llvm::dyn_cast<InstBr>(Last))) { in shortCircuit()
1516 if (llvm::isa<InstBr>(It) || llvm::isa<InstRet>(It)) { in shortCircuit()
1565 InstBr *NewInst = nullptr; in shortCircuit()
1570 InstBr::create(Func, FirstOperandDef->getDest(), JumpOnTrue, NewNode); in shortCircuit()
1575 InstBr::create(Func, FirstOperandDef->getDest(), NewNode, JumpOnFalse); in shortCircuit()
DIceInst.cpp306 InstBr::InstBr(Cfg *Func, Operand *Source, CfgNode *TargetTrue_, in InstBr() function in Ice::InstBr
323 InstBr::InstBr(Cfg *Func, CfgNode *Target) in InstBr() function in Ice::InstBr
327 NodeList InstBr::getTerminatorEdges() const { in getTerminatorEdges()
336 bool InstBr::repointEdges(CfgNode *OldNode, CfgNode *NewNode) { in repointEdges()
748 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.h396 virtual void lowerBr(const InstBr *Instr) = 0;
DIceTargetLowering.cpp411 lowerBr(llvm::cast<InstBr>(Instr)); in lower()
DIceTargetLoweringX86BaseImpl.h215 if (llvm::isa<InstBr>(Instr))
2621 void TargetX86Base<TraitsType>::lowerBr(const InstBr *Br) {
3477 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) {
3854 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) {
3896 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) {
3917 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) {
3970 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) {
4821 if (auto *NextBr = llvm::dyn_cast<InstBr>(NextInst)) {
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.cpp3086 void TargetMIPS32::lowerBr(const InstBr *Instr) { in lowerBr()
DIceTargetLoweringARM32.cpp3658 void TargetARM32::lowerBr(const InstBr *Instr) { in lowerBr()
/external/swiftshader/src/Reactor/
DSubzeroReactor.cpp467 auto br = Ice::InstBr::create(::function, ::basicBlockTop); in finalizeFunction()
1187 auto br = Ice::InstBr::create(::function, dest); in createBr()
1196 auto br = Ice::InstBr::create(::function, cond, ifTrue, ifFalse); in createCondBr()
4814 auto br = Ice::InstBr::create(awaitFunc, done, doneBlock, resumeBlock); in generateAwaitFunction()