Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceInst.h377 class InstBr : public InstHighLevel {
378 InstBr() = delete;
379 InstBr(const InstBr &) = delete;
380 InstBr &operator=(const InstBr &) = delete;
385 static InstBr *create(Cfg *Func, Operand *Source, CfgNode *TargetTrue, in create()
387 return new (Func->allocate<InstBr>()) in create()
388 InstBr(Func, Source, TargetTrue, TargetFalse); in create()
391 static InstBr *create(Cfg *Func, CfgNode *Target) { in create()
392 return new (Func->allocate<InstBr>()) InstBr(Func, Target); in create()
414 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()
1239 InstBr *Br = nullptr; in shortCircuit()
1240 if ((Br = llvm::dyn_cast<InstBr>(Last))) { in shortCircuit()
1302 if (llvm::isa<InstBr>(It) || llvm::isa<InstRet>(It)) { in shortCircuit()
1351 InstBr *NewInst = nullptr; in shortCircuit()
1356 InstBr::create(Func, FirstOperandDef->getDest(), JumpOnTrue, NewNode); in shortCircuit()
1361 InstBr::create(Func, FirstOperandDef->getDest(), NewNode, JumpOnFalse); in shortCircuit()
DIceInst.cpp304 InstBr::InstBr(Cfg *Func, Operand *Source, CfgNode *TargetTrue_, in InstBr() function in Ice::InstBr
321 InstBr::InstBr(Cfg *Func, CfgNode *Target) in InstBr() function in Ice::InstBr
325 NodeList InstBr::getTerminatorEdges() const { in getTerminatorEdges()
334 bool InstBr::repointEdges(CfgNode *OldNode, CfgNode *NewNode) { in repointEdges()
739 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.h361 virtual void lowerBr(const InstBr *Instr) = 0;
DIceTargetLoweringX8632.cpp122 if (llvm::isa<InstBr>(Instr)) in getConsumerKind()
2356 void TargetX8632::lowerBr(const InstBr *Br) { in lowerBr()
3147 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) { in lowerFcmpAndConsumer()
3516 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) { in lowerIcmp64()
3555 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) { in setccOrConsumer()
3575 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) { in movOrConsumer()
3627 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) { in lowerArithAndConsumer()
4393 if (auto *NextBr = llvm::dyn_cast<InstBr>(NextInst)) { in tryOptimizedCmpxchgCmpBr()
DIceTargetLowering.cpp380 lowerBr(llvm::cast<InstBr>(Instr)); in lower()
DIceTargetLoweringX8664.cpp131 if (llvm::isa<InstBr>(Instr)) in getConsumerKind()
2172 void TargetX8664::lowerBr(const InstBr *Br) { in lowerBr()
2850 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) { in lowerFcmpAndConsumer()
3111 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) { in setccOrConsumer()
3131 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) { in movOrConsumer()
3183 if (const auto *Br = llvm::dyn_cast<InstBr>(Consumer)) { in lowerArithAndConsumer()
3909 if (auto *NextBr = llvm::dyn_cast<InstBr>(NextInst)) { in tryOptimizedCmpxchgCmpBr()
DIceTargetLoweringMIPS32.h738 void lowerBr(const InstBr *Instr) override;
DIceTargetLoweringX8632.h266 void lowerBr(const InstBr *Instr) override;
DIceTargetLoweringX8664.h262 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.h215 void lowerBr(const InstBr *Instr) override;
DIceTargetLoweringMIPS32.cpp3053 void TargetMIPS32::lowerBr(const InstBr *Instr) { in lowerBr()
DIceTargetLoweringARM32.cpp3474 void TargetARM32::lowerBr(const InstBr *Instr) { in lowerBr()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DSubzeroReactor.cpp467 auto br = Ice::InstBr::create(::function, ::basicBlockTop); in finalizeFunction()
1186 auto br = Ice::InstBr::create(::function, dest); in createBr()
1195 auto br = Ice::InstBr::create(::function, cond, ifTrue, ifFalse); in createCondBr()
4814 auto br = Ice::InstBr::create(awaitFunc, done, doneBlock, resumeBlock); in generateAwaitFunction()