Home
last modified time | relevance | path

Searched refs:BrCond (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DIfConversion.cpp152 SmallVector<MachineOperand, 4> BrCond; member
631 if (!TII->reverseBranchCondition(BBI.BrCond)) { in reverseBranchCondition()
633 TII->insertBranch(*BBI.BB, BBI.FalseBB, BBI.TrueBB, BBI.BrCond, dl); in reverseBranchCondition()
694 if (TrueBBI.TrueBB && TrueBBI.BrCond.empty()) in ValidTriangle()
901 if (TrueBBI.BrCond.size() == 0 || in ValidForkedDiamond()
902 FalseBBI.BrCond.size() == 0) in ValidForkedDiamond()
1029 BBI.BrCond.clear(); in AnalyzeBranches()
1031 !TII->analyzeBranch(*BBI.BB, BBI.TrueBB, BBI.FalseBB, BBI.BrCond); in AnalyzeBranches()
1035 BBI.BrCond.clear(); in AnalyzeBranches()
1038 SmallVector<MachineOperand, 4> RevCond(BBI.BrCond.begin(), BBI.BrCond.end()); in AnalyzeBranches()
[all …]
DMachinePipeliner.cpp319 LI.BrCond.clear(); in canPipelineLoop()
320 if (TII->analyzeBranch(*L.getHeader(), LI.TBB, LI.FBB, LI.BrCond)) { in canPipelineLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceTargetLoweringX8664.h116 using BrCond = CondX86::BrCond;
474 void _br(BrCond Condition, CfgNode *TargetTrue, CfgNode *TargetFalse) { in _br()
481 void _br(BrCond Condition, CfgNode *Target) { in _br()
484 void _br(BrCond Condition, InstX86Label *Label,
498 void _cmov(Variable *Dest, Operand *Src0, BrCond Condition) { in _cmov()
733 void _setcc(Variable *Dest, BrCond Condition) { in _setcc()
881 void setccOrConsumer(BrCond Condition, Variable *Dest, const Inst *Consumer);
893 void lowerSelectMove(Variable *Dest, BrCond Cond, Operand *SrcT,
895 void lowerSelectIntMove(Variable *Dest, BrCond Cond, Operand *SrcT,
958 CondX86::BrCond C1, C2;
[all …]
DIceTargetLoweringX8632.h115 using BrCond = CondX86::BrCond;
478 void _br(BrCond Condition, CfgNode *TargetTrue, CfgNode *TargetFalse) { in _br()
485 void _br(BrCond Condition, CfgNode *Target) { in _br()
488 void _br(BrCond Condition, InstX86Label *Label,
502 void _cmov(Variable *Dest, Operand *Src0, BrCond Condition) { in _cmov()
739 void _setcc(Variable *Dest, BrCond Condition) { in _setcc()
895 void setccOrConsumer(BrCond Condition, Variable *Dest, const Inst *Consumer);
907 void lowerSelectMove(Variable *Dest, BrCond Cond, Operand *SrcT,
909 void lowerSelectIntMove(Variable *Dest, BrCond Cond, Operand *SrcT,
975 CondX86::BrCond C1, C2;
[all …]
DIceConditionCodesX86.h27 enum BrCond { enum
DIceAssemblerX8632.h37 using BrCond = CondX86::BrCond; variable
474 void setcc(BrCond condition, ByteRegister dst);
475 void setcc(BrCond condition, const AsmAddress &address);
490 void cmov(Type Ty, BrCond cond, GPRRegister dst, GPRRegister src);
491 void cmov(Type Ty, BrCond cond, GPRRegister dst, const AsmAddress &src);
845 void j(BrCond condition, Label *label, bool near = kFarJump);
846 void j(BrCond condition, const ConstantRelocatable *label); // not testable.
DIceAssemblerX8664.h37 using BrCond = CondX86::BrCond; variable
491 void setcc(BrCond condition, ByteRegister dst);
492 void setcc(BrCond condition, const AsmAddress &address);
509 void cmov(Type Ty, BrCond cond, GPRRegister dst, GPRRegister src);
510 void cmov(Type Ty, BrCond cond, GPRRegister dst, const AsmAddress &src);
841 void j(BrCond condition, Label *label, bool near = kFarJump);
842 void j(BrCond condition, const ConstantRelocatable *label); // not testable.
DIceInstX8632.h38 using BrCond = Cond::BrCond; variable
324 static BrCond getOppositeCondition(BrCond Cond);
475 BrCond Condition, Mode Kind) { in create()
491 static InstX86Br *create(Cfg *Func, CfgNode *Target, BrCond Condition, in create()
501 static InstX86Br *create(Cfg *Func, InstX86Label *Label, BrCond Condition, in create()
536 const InstX86Label *Label, BrCond Condition, Mode Kind);
538 BrCond Condition;
2468 BrCond Cond) { in create()
2480 InstX86Cmov(Cfg *Func, Variable *Dest, Operand *Source, BrCond Cond);
2482 BrCond Condition;
[all …]
DIceInstX8664.h38 using BrCond = Cond::BrCond; variable
263 static BrCond getOppositeCondition(BrCond Cond);
414 BrCond Condition, Mode Kind) { in create()
430 static InstX86Br *create(Cfg *Func, CfgNode *Target, BrCond Condition, in create()
440 static InstX86Br *create(Cfg *Func, InstX86Label *Label, BrCond Condition, in create()
475 const InstX86Label *Label, BrCond Condition, Mode Kind);
477 BrCond Condition;
2409 BrCond Cond) { in create()
2421 InstX86Cmov(Cfg *Func, Variable *Dest, Operand *Source, BrCond Cond);
2423 BrCond Condition;
[all …]
DIceAssemblerX8632.cpp265 void AssemblerX8632::setcc(BrCond condition, ByteRegister dst) { in setcc()
272 void AssemblerX8632::setcc(BrCond condition, const AsmAddress &address) { in setcc()
393 void AssemblerX8632::cmov(Type Ty, BrCond cond, GPRRegister dst, in cmov()
405 void AssemblerX8632::cmov(Type Ty, BrCond cond, GPRRegister dst, in cmov()
2838 void AssemblerX8632::j(BrCond condition, Label *label, bool near) { in j()
2863 void AssemblerX8632::j(BrCond condition, const ConstantRelocatable *label) { in j()
DIceInstX8632.cpp33 CondX86::BrCond Opposite;
120 Cond::BrCond InstX86Base::getOppositeCondition(BrCond Cond) { in getOppositeCondition()
169 BrCond Condition, Mode Kind) in InstX86Br()
241 BrCond Condition) in InstX86Cmov()
374 InstX86Setcc::InstX86Setcc(Cfg *Func, Variable *Dest, BrCond Cond) in InstX86Setcc()
DIceInstX8664.cpp33 CondX86::BrCond Opposite;
108 Cond::BrCond InstX86Base::getOppositeCondition(BrCond Cond) { in getOppositeCondition()
157 BrCond Condition, Mode Kind) in InstX86Br()
229 BrCond Condition) in InstX86Cmov()
354 InstX86Setcc::InstX86Setcc(Cfg *Func, Variable *Dest, BrCond Cond) in InstX86Setcc()
DIceAssemblerX8664.cpp245 void AssemblerX8664::setcc(BrCond condition, ByteRegister dst) { in setcc()
253 void AssemblerX8664::setcc(BrCond condition, const AsmAddress &address) { in setcc()
421 void AssemblerX8664::cmov(Type Ty, BrCond cond, GPRRegister dst, in cmov()
434 void AssemblerX8664::cmov(Type Ty, BrCond cond, GPRRegister dst, in cmov()
2992 void AssemblerX8664::j(BrCond condition, Label *label, bool near) { in j()
3017 void AssemblerX8664::j(BrCond condition, const ConstantRelocatable *label) { in j()
DIceTargetLoweringX8664.cpp3105 void TargetX8664::setccOrConsumer(BrCond Condition, Variable *Dest, in setccOrConsumer()
5634 const BrCond Cond = CondX86::Br_ne; in lowerSelect()
5638 void TargetX8664::lowerSelectMove(Variable *Dest, BrCond Cond, Operand *SrcT, in lowerSelectMove()
5668 void TargetX8664::lowerSelectIntMove(Variable *Dest, BrCond Cond, Operand *SrcT, in lowerSelectIntMove()
DIceTargetLoweringX8632.cpp3549 void TargetX8632::setccOrConsumer(BrCond Condition, Variable *Dest, in setccOrConsumer()
6224 const BrCond Cond = CondX86::Br_ne; in lowerSelect()
6228 void TargetX8632::lowerSelectMove(Variable *Dest, BrCond Cond, Operand *SrcT, in lowerSelectMove()
6268 void TargetX8632::lowerSelectIntMove(Variable *Dest, BrCond Cond, Operand *SrcT, in lowerSelectIntMove()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPlanHCFGBuilder.cpp291 Value *BrCond = Br->getCondition(); in buildPlainCFG() local
294 assert(IRDef2VPValue.count(BrCond) && in buildPlainCFG()
296 VPValue *VPCondBit = IRDef2VPValue[BrCond]; in buildPlainCFG()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp804 MachineInstr *BrCond = &*std::prev(BrIt); in matchElideBrByInvertingCond() local
805 if (BrCond->getOpcode() != TargetOpcode::G_BRCOND) in matchElideBrByInvertingCond()
809 if (!MBB->isLayoutSuccessor(BrCond->getOperand(1).getMBB())) in matchElideBrByInvertingCond()
812 MachineInstr *CmpMI = MRI.getVRegDef(BrCond->getOperand(0).getReg()); in matchElideBrByInvertingCond()
829 MachineInstr *BrCond = &*std::prev(BrIt); in applyElideBrByInvertingCond() local
830 MachineInstr *CmpMI = MRI.getVRegDef(BrCond->getOperand(0).getReg()); in applyElideBrByInvertingCond()
841 Observer.changingInstr(*BrCond); in applyElideBrByInvertingCond()
842 BrCond->getOperand(1).setMBB(BrTarget); in applyElideBrByInvertingCond()
843 Observer.changedInstr(*BrCond); in applyElideBrByInvertingCond()
DIRTranslator.cpp559 auto BrCond = MIB.buildBrCond(Cmp.getReg(0), *JT.Default); in emitJumpTableHeader() local
563 BrCond = MIB.buildBr(*JT.MBB); in emitJumpTableHeader()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp2357 if (MachineInstr *BrCond = verifyCFIntrinsic(MI, MRI, Br)) { in legalizeIntrinsic() local
2361 B.setInstr(*BrCond); in legalizeIntrinsic()
2365 MachineBasicBlock *BrTarget = BrCond->getOperand(1).getMBB(); in legalizeIntrinsic()
2383 Br->getOperand(0).setMBB(BrCond->getOperand(1).getMBB()); in legalizeIntrinsic()
2388 BrCond->eraseFromParent(); in legalizeIntrinsic()
2396 if (MachineInstr *BrCond = verifyCFIntrinsic(MI, MRI, Br)) { in legalizeIntrinsic() local
2400 B.setInstr(*BrCond); in legalizeIntrinsic()
2406 .addMBB(BrCond->getOperand(1).getMBB()); in legalizeIntrinsic()
2408 BrCond->eraseFromParent(); in legalizeIntrinsic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachinePipeliner.h79 SmallVector<MachineOperand, 4> BrCond; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp1966 Value *BrCond = BI->getCondition(); in SpeculativelyExecuteBB() local
1967 if (isa<FCmpInst>(BrCond)) in SpeculativelyExecuteBB()
2106 BrCond, TrueV, FalseV, "spec.store.select", BI); in SpeculativelyExecuteBB()
2140 BrCond, TrueV, FalseV, "spec.select", BI); in SpeculativelyExecuteBB()
2516 Value *BrCond = BI->getCondition(); in SimplifyCondBranchToTwoReturns() local
2524 Builder.CreateSelect(BrCond, TrueValue, FalseValue, "retval", BI); in SimplifyCondBranchToTwoReturns()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp2420 SDValue BrCond = DAG.getNode(ISD::BRCOND, dl, in visitSwitchCase() local
2427 BrCond = DAG.getNode(ISD::BR, dl, MVT::Other, BrCond, in visitSwitchCase()
2430 DAG.setRoot(BrCond); in visitSwitchCase()
2483 SDValue BrCond = DAG.getNode(ISD::BRCOND, dl, in visitJumpTableHeader() local
2489 BrCond = DAG.getNode(ISD::BR, dl, MVT::Other, BrCond, in visitJumpTableHeader()
2492 DAG.setRoot(BrCond); in visitJumpTableHeader()
2611 SDValue BrCond = DAG.getNode(ISD::BRCOND, dl, in visitSPDescriptorParent() local
2616 MVT::Other, BrCond, in visitSPDescriptorParent()
10155 SDValue BrCond = in lowerWorkItem() local
10159 BrCond = DAG.getNode(ISD::BR, DL, MVT::Other, BrCond, in lowerWorkItem()
[all …]