Home
last modified time | relevance | path

Searched refs:TargetTrue (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceInstMIPS32.cpp80 InstMIPS32Br::InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, in InstMIPS32Br() argument
83 : InstMIPS32(Func, InstMIPS32::Br, 0, nullptr), TargetTrue(TargetTrue), in InstMIPS32Br()
86 InstMIPS32Br::InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, in InstMIPS32Br() argument
89 : InstMIPS32(Func, InstMIPS32::Br, 1, nullptr), TargetTrue(TargetTrue), in InstMIPS32Br()
94 InstMIPS32Br::InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, in InstMIPS32Br() argument
98 : InstMIPS32(Func, InstMIPS32::Br, 2, nullptr), TargetTrue(TargetTrue), in InstMIPS32Br()
128 TargetTrue = nullptr; in optimizeBranch()
138 TargetTrue = nullptr; in optimizeBranch()
150 if (TargetTrue == OldNode) { in repointEdges()
151 TargetTrue = NewNode; in repointEdges()
DIceInst.cpp307 TargetTrue(TargetTrue_) { in InstBr()
311 TargetFalse = TargetTrue; in InstBr()
313 TargetTrue = nullptr; // turn into unconditional version in InstBr()
314 } else if (TargetTrue == TargetFalse) { in InstBr()
315 TargetTrue = nullptr; // turn into unconditional version in InstBr()
323 TargetTrue(nullptr) {} in InstBr()
327 OutEdges.reserve(TargetTrue ? 2 : 1); in getTerminatorEdges()
329 if (TargetTrue) in getTerminatorEdges()
330 OutEdges.push_back(TargetTrue); in getTerminatorEdges()
340 if (TargetTrue == OldNode) { in repointEdges()
[all …]
DIceInstMIPS32.h819 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 …]
DIceTargetLoweringMIPS32.h188 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()
DIceTargetLoweringMIPS32.cpp3058 CfgNode *TargetTrue = Instr->getTargetTrue(); in lowerBr() local
3067 _br(TargetTrue, TargetFalse, BooleanR, CondMIPS32::Cond::EQZ); in lowerBr()
3129 _br(TargetTrue, TargetFalse, DestT, CondMIPS32::Cond::NEZ); in lowerBr()
3131 _br(TargetTrue, TargetFalse, Src0R, Src1R, CondMIPS32::Cond::NE); in lowerBr()
3144 _br(TargetTrue, TargetFalse, DestT, CondMIPS32::Cond::EQZ); in lowerBr()
3146 _br(TargetTrue, TargetFalse, Src0R, Src1R, CondMIPS32::Cond::EQ); in lowerBr()
3164 _br(TargetTrue, TargetFalse, DestT, CondMIPS32::Cond::NEZ); in lowerBr()
3167 _br(TargetTrue, TargetFalse, DestT, CondMIPS32::Cond::EQZ); in lowerBr()
3181 _br(TargetTrue, TargetFalse, DestT, CondMIPS32::Cond::NEZ); in lowerBr()
3184 _br(TargetTrue, TargetFalse, DestT, CondMIPS32::Cond::NEZ); in lowerBr()
[all …]
DIceInst.h385 static InstBr *create(Cfg *Func, Operand *Source, CfgNode *TargetTrue, in create() argument
388 InstBr(Func, Source, TargetTrue, TargetFalse); in create()
399 CfgNode *getTargetTrue() const { return TargetTrue; } in getTargetTrue()
414 InstBr(Cfg *Func, Operand *Source, CfgNode *TargetTrue, CfgNode *TargetFalse);
419 CfgNode *TargetTrue; /// nullptr if unconditional branch variable
DIceInstARM32.h1105 static InstARM32Br *create(Cfg *Func, CfgNode *TargetTrue, in create() argument
1110 InstARM32Br(Func, TargetTrue, TargetFalse, NoLabel, Predicate); in create()
1139 const CfgNode *getTargetTrue() const { return TargetTrue; } in getTargetTrue()
1162 InstARM32Br(Cfg *Func, const CfgNode *TargetTrue, const CfgNode *TargetFalse,
1165 const CfgNode *TargetTrue; variable
DIceTargetLoweringARM32.h354 void _br(CfgNode *TargetTrue, CfgNode *TargetFalse, in _br() argument
356 Context.insert<InstARM32Br>(TargetTrue, TargetFalse, Condition); in _br()
671 lowerInt1ForBranch(Operand *Boolean, const LowerInt1BranchTarget &TargetTrue,
DIceInstX8632.cpp167 InstX86Br::InstX86Br(Cfg *Func, const CfgNode *TargetTrue, in InstX86Br() argument
171 TargetTrue(TargetTrue), TargetFalse(TargetFalse), Label(Label), in InstX86Br()
204 TargetTrue = getTargetFalse(); in optimizeBranch()
217 if (TargetTrue == OldNode) { in repointEdges()
218 TargetTrue = NewNode; in repointEdges()
DIceInstARM32.cpp484 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()
DIceInstX8664.cpp155 InstX86Br::InstX86Br(Cfg *Func, const CfgNode *TargetTrue, in InstX86Br() argument
159 TargetTrue(TargetTrue), TargetFalse(TargetFalse), Label(Label), in InstX86Br()
192 TargetTrue = getTargetFalse(); in optimizeBranch()
205 if (TargetTrue == OldNode) { in repointEdges()
206 TargetTrue = NewNode; in repointEdges()
DIceTargetLoweringX8664.h474 void _br(BrCond Condition, CfgNode *TargetTrue, CfgNode *TargetFalse) { in _br() argument
475 Context.insert<InstX86Br>(TargetTrue, TargetFalse, Condition, in _br()
DIceTargetLoweringX8632.h478 void _br(BrCond Condition, CfgNode *TargetTrue, CfgNode *TargetFalse) { in _br() argument
479 Context.insert<InstX86Br>(TargetTrue, TargetFalse, Condition, in _br()
DIceTargetLoweringARM32.cpp3382 Operand *Boolean, const LowerInt1BranchTarget &TargetTrue, in lowerInt1ForBranch() argument
3431 Producer->getSrc(0), TargetTrue, NewTarget, SC_And); in lowerInt1ForBranch()
3441 lowerInt1ForBranch(Producer->getSrc(1), TargetTrue, NewTarget, SC_All) in lowerInt1ForBranch()
3451 TargetTrue.createForLabelOrDuplicate(NewShortCircuitLabel); in lowerInt1ForBranch()
3480 CfgNode *TargetTrue = Instr->getTargetTrue(); in lowerBr() local
3483 Instr->getCondition(), LowerInt1BranchTarget(TargetTrue), in lowerBr()
3490 _br(TargetTrue, Cond.WhenTrue1); in lowerBr()
3495 _br(TargetTrue, TargetFalse, Cond.WhenTrue0); in lowerBr()
3501 _br(TargetTrue); in lowerBr()
DIceInstX8632.h474 static InstX86Br *create(Cfg *Func, CfgNode *TargetTrue, CfgNode *TargetFalse, in create() argument
479 InstX86Br(Func, TargetTrue, TargetFalse, NoLabel, Condition, Kind); in create()
508 const CfgNode *getTargetTrue() const { return TargetTrue; } in getTargetTrue()
535 InstX86Br(Cfg *Func, const CfgNode *TargetTrue, const CfgNode *TargetFalse,
539 const CfgNode *TargetTrue; variable
DIceInstX8664.h413 static InstX86Br *create(Cfg *Func, CfgNode *TargetTrue, CfgNode *TargetFalse, in create() argument
418 InstX86Br(Func, TargetTrue, TargetFalse, NoLabel, Condition, Kind); in create()
447 const CfgNode *getTargetTrue() const { return TargetTrue; } in getTargetTrue()
474 InstX86Br(Cfg *Func, const CfgNode *TargetTrue, const CfgNode *TargetFalse,
478 const CfgNode *TargetTrue; variable