Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/src/
DIceInst.h367 class InstBr : public InstHighLevel {
368 InstBr() = delete;
369 InstBr(const InstBr &) = delete;
370 InstBr &operator=(const InstBr &) = delete;
375 static InstBr *create(Cfg *Func, Operand *Source, CfgNode *TargetTrue, in create()
377 return new (Func->allocate<InstBr>()) in create()
378 InstBr(Func, Source, TargetTrue, TargetFalse); in create()
381 static InstBr *create(Cfg *Func, CfgNode *Target) { in create()
382 return new (Func->allocate<InstBr>()) InstBr(Func, Target); in create()
404 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.h202 if (llvm::isa<InstBr>(Instr))
2564 void TargetX86Base<TraitsType>::lowerBr(const InstBr *Br) {
3401 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) {
3778 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) {
3820 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) {
3841 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) {
3894 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) {
4742 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;
DIceTargetLoweringARM32.h216 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()
DIceTargetLoweringX86Base.h269 void lowerBr(const InstBr *Instr) override;
DIceTargetLoweringMIPS32.cpp3101 void TargetMIPS32::lowerBr(const InstBr *Instr) { in lowerBr()
DIceTargetLoweringARM32.cpp3644 void TargetARM32::lowerBr(const InstBr *Instr) { in lowerBr()
/external/swiftshader/src/Reactor/
DSubzeroReactor.cpp683 auto br = Ice::InstBr::create(::function, dest); in createBr()
689 auto br = Ice::InstBr::create(::function, cond, ifTrue, ifFalse); in createCondBr()