/external/swiftshader/third_party/subzero/src/ |
D | IceInst.cpp | 309 TargetTrue(TargetTrue_) { in InstBr() 313 TargetFalse = TargetTrue; in InstBr() 315 TargetTrue = nullptr; // turn into unconditional version in InstBr() 316 } else if (TargetTrue == TargetFalse) { in InstBr() 317 TargetTrue = nullptr; // turn into unconditional version in InstBr() 325 TargetTrue(nullptr) {} in InstBr() 329 OutEdges.reserve(TargetTrue ? 2 : 1); in getTerminatorEdges() 331 if (TargetTrue) in getTerminatorEdges() 332 OutEdges.push_back(TargetTrue); in getTerminatorEdges() 342 if (TargetTrue == OldNode) { in repointEdges() [all …]
|
D | IceInstMIPS32.cpp | 174 InstMIPS32Br::InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, in InstMIPS32Br() argument 177 : InstMIPS32(Func, InstMIPS32::Br, 0, nullptr), TargetTrue(TargetTrue), in InstMIPS32Br() 180 InstMIPS32Br::InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, in InstMIPS32Br() argument 183 : InstMIPS32(Func, InstMIPS32::Br, 1, nullptr), TargetTrue(TargetTrue), in InstMIPS32Br() 188 InstMIPS32Br::InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, in InstMIPS32Br() argument 192 : InstMIPS32(Func, InstMIPS32::Br, 2, nullptr), TargetTrue(TargetTrue), in InstMIPS32Br() 222 TargetTrue = nullptr; in optimizeBranch() 232 TargetTrue = nullptr; in optimizeBranch() 244 if (TargetTrue == OldNode) { in repointEdges() 245 TargetTrue = NewNode; in repointEdges()
|
D | IceInstMIPS32.h | 819 static InstMIPS32Br *create(Cfg *Func, CfgNode *TargetTrue, in create() argument 824 InstMIPS32Br(Func, TargetTrue, TargetFalse, Src0, Src1, NoLabel, Cond); in create() 827 static InstMIPS32Br *create(Cfg *Func, CfgNode *TargetTrue, in create() argument 832 InstMIPS32Br(Func, TargetTrue, TargetFalse, Src0, NoLabel, Cond); in create() 835 static InstMIPS32Br *create(Cfg *Func, CfgNode *TargetTrue, in create() argument 840 InstMIPS32Br(Func, TargetTrue, TargetFalse, Src0, Src1, Label, Cond); in create() 843 const CfgNode *getTargetTrue() const { return TargetTrue; } in getTargetTrue() 858 InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, const CfgNode *TargetFalse, 861 InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, const CfgNode *TargetFalse, 865 InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, const CfgNode *TargetFalse, [all …]
|
D | IceTargetLoweringMIPS32.h | 188 void _br(CfgNode *TargetTrue, CfgNode *TargetFalse, Operand *Src0, in _br() argument 190 Context.insert<InstMIPS32Br>(TargetTrue, TargetFalse, Src0, Src1, in _br() 194 void _br(CfgNode *TargetTrue, CfgNode *TargetFalse, Operand *Src0, in _br() argument 196 Context.insert<InstMIPS32Br>(TargetTrue, TargetFalse, Src0, Condition); in _br() 199 void _br(CfgNode *TargetTrue, CfgNode *TargetFalse, Operand *Src0, in _br() argument 202 Context.insert<InstMIPS32Br>(TargetTrue, TargetFalse, Src0, Src1, Label, in _br()
|
D | IceInst.h | 387 static InstBr *create(Cfg *Func, Operand *Source, CfgNode *TargetTrue, in create() argument 390 InstBr(Func, Source, TargetTrue, TargetFalse); in create() 401 CfgNode *getTargetTrue() const { return TargetTrue; } in getTargetTrue() 416 InstBr(Cfg *Func, Operand *Source, CfgNode *TargetTrue, CfgNode *TargetFalse); 421 CfgNode *TargetTrue; /// nullptr if unconditional branch variable
|
D | IceTargetLoweringMIPS32.cpp | 3091 CfgNode *TargetTrue = Instr->getTargetTrue(); in lowerBr() local 3100 _br(TargetTrue, TargetFalse, BooleanR, CondMIPS32::Cond::EQZ); in lowerBr() 3162 _br(TargetTrue, TargetFalse, DestT, CondMIPS32::Cond::NEZ); in lowerBr() 3164 _br(TargetTrue, TargetFalse, Src0R, Src1R, CondMIPS32::Cond::NE); in lowerBr() 3177 _br(TargetTrue, TargetFalse, DestT, CondMIPS32::Cond::EQZ); in lowerBr() 3179 _br(TargetTrue, TargetFalse, Src0R, Src1R, CondMIPS32::Cond::EQ); in lowerBr() 3197 _br(TargetTrue, TargetFalse, DestT, CondMIPS32::Cond::NEZ); in lowerBr() 3200 _br(TargetTrue, TargetFalse, DestT, CondMIPS32::Cond::EQZ); in lowerBr() 3214 _br(TargetTrue, TargetFalse, DestT, CondMIPS32::Cond::NEZ); in lowerBr() 3217 _br(TargetTrue, TargetFalse, DestT, CondMIPS32::Cond::NEZ); in lowerBr() [all …]
|
D | IceInstARM32.h | 1106 static InstARM32Br *create(Cfg *Func, CfgNode *TargetTrue, in create() argument 1111 InstARM32Br(Func, TargetTrue, TargetFalse, NoLabel, Predicate); in create() 1140 const CfgNode *getTargetTrue() const { return TargetTrue; } in getTargetTrue() 1163 InstARM32Br(Cfg *Func, const CfgNode *TargetTrue, const CfgNode *TargetFalse, 1166 const CfgNode *TargetTrue; variable
|
D | IceTargetLoweringARM32.h | 355 void _br(CfgNode *TargetTrue, CfgNode *TargetFalse, in _br() argument 357 Context.insert<InstARM32Br>(TargetTrue, TargetFalse, Condition); in _br() 672 lowerInt1ForBranch(Operand *Boolean, const LowerInt1BranchTarget &TargetTrue,
|
D | IceInstARM32.cpp | 484 InstARM32Br::InstARM32Br(Cfg *Func, const CfgNode *TargetTrue, in InstARM32Br() argument 488 TargetTrue(TargetTrue), TargetFalse(TargetFalse), Label(Label) {} in InstARM32Br() 520 TargetTrue = getTargetFalse(); in optimizeBranch() 533 if (TargetTrue == OldNode) { in repointEdges() 534 TargetTrue = NewNode; in repointEdges()
|
D | IceInstX86BaseImpl.h | 108 InstImpl<TraitsType>::InstX86Br::InstX86Br(Cfg *Func, const CfgNode *TargetTrue, in InstX86Br() argument 113 TargetTrue(TargetTrue), TargetFalse(TargetFalse), Label(Label), in InstX86Br() 147 TargetTrue = getTargetFalse(); in optimizeBranch() 162 if (TargetTrue == OldNode) { in repointEdges() 163 TargetTrue = NewNode; in repointEdges()
|
D | IceTargetLoweringARM32.cpp | 3566 Operand *Boolean, const LowerInt1BranchTarget &TargetTrue, in lowerInt1ForBranch() argument 3615 Producer->getSrc(0), TargetTrue, NewTarget, SC_And); in lowerInt1ForBranch() 3625 lowerInt1ForBranch(Producer->getSrc(1), TargetTrue, NewTarget, SC_All) in lowerInt1ForBranch() 3635 TargetTrue.createForLabelOrDuplicate(NewShortCircuitLabel); in lowerInt1ForBranch() 3664 CfgNode *TargetTrue = Instr->getTargetTrue(); in lowerBr() local 3667 Instr->getCondition(), LowerInt1BranchTarget(TargetTrue), in lowerBr() 3674 _br(TargetTrue, Cond.WhenTrue1); in lowerBr() 3679 _br(TargetTrue, TargetFalse, Cond.WhenTrue0); in lowerBr() 3685 _br(TargetTrue); in lowerBr()
|
D | IceTargetLoweringX86Base.h | 563 void _br(BrCond Condition, CfgNode *TargetTrue, CfgNode *TargetFalse) { in _br() argument 564 Context.insert<InstX86Br>(TargetTrue, TargetFalse, Condition, in _br()
|
D | IceInstX86Base.h | 379 static InstX86Br *create(Cfg *Func, CfgNode *TargetTrue, in create() 385 InstX86Br(Func, TargetTrue, TargetFalse, NoLabel, Condition, Kind); in create() 414 const CfgNode *getTargetTrue() const { return TargetTrue; } in getTargetTrue() 441 InstX86Br(Cfg *Func, const CfgNode *TargetTrue, const CfgNode *TargetFalse, 445 const CfgNode *TargetTrue; member
|