/external/swiftshader/third_party/subzero/src/ |
D | IceInst.cpp | 317 TargetTrue(TargetTrue_) { in InstBr() 321 TargetFalse = TargetTrue; in InstBr() 323 TargetTrue = nullptr; // turn into unconditional version in InstBr() 324 } else if (TargetTrue == TargetFalse) { in InstBr() 325 TargetTrue = nullptr; // turn into unconditional version in InstBr() 333 TargetTrue(nullptr) {} in InstBr() 337 OutEdges.reserve(TargetTrue ? 2 : 1); in getTerminatorEdges() 339 if (TargetTrue) in getTerminatorEdges() 340 OutEdges.push_back(TargetTrue); in getTerminatorEdges() 350 if (TargetTrue == OldNode) { in repointEdges() [all …]
|
D | IceInstMIPS32.cpp | 176 InstMIPS32Br::InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, in InstMIPS32Br() argument 179 : InstMIPS32(Func, InstMIPS32::Br, 0, nullptr), TargetTrue(TargetTrue), in InstMIPS32Br() 182 InstMIPS32Br::InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, in InstMIPS32Br() argument 185 : InstMIPS32(Func, InstMIPS32::Br, 1, nullptr), TargetTrue(TargetTrue), in InstMIPS32Br() 190 InstMIPS32Br::InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, in InstMIPS32Br() argument 194 : InstMIPS32(Func, InstMIPS32::Br, 2, nullptr), TargetTrue(TargetTrue), in InstMIPS32Br() 224 TargetTrue = nullptr; in optimizeBranch() 234 TargetTrue = nullptr; in optimizeBranch() 246 if (TargetTrue == OldNode) { in repointEdges() 247 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 | 375 static InstBr *create(Cfg *Func, Operand *Source, CfgNode *TargetTrue, in create() argument 378 InstBr(Func, Source, TargetTrue, TargetFalse); in create() 389 CfgNode *getTargetTrue() const { return TargetTrue; } in getTargetTrue() 404 InstBr(Cfg *Func, Operand *Source, CfgNode *TargetTrue, CfgNode *TargetFalse); 409 CfgNode *TargetTrue; /// nullptr if unconditional branch variable
|
D | IceTargetLoweringMIPS32.cpp | 3106 CfgNode *TargetTrue = Instr->getTargetTrue(); in lowerBr() local 3115 _br(TargetTrue, TargetFalse, BooleanR, CondMIPS32::Cond::EQZ); in lowerBr() 3177 _br(TargetTrue, TargetFalse, DestT, CondMIPS32::Cond::NEZ); in lowerBr() 3179 _br(TargetTrue, TargetFalse, Src0R, Src1R, CondMIPS32::Cond::NE); in lowerBr() 3192 _br(TargetTrue, TargetFalse, DestT, CondMIPS32::Cond::EQZ); in lowerBr() 3194 _br(TargetTrue, TargetFalse, Src0R, Src1R, CondMIPS32::Cond::EQ); in lowerBr() 3212 _br(TargetTrue, TargetFalse, DestT, CondMIPS32::Cond::NEZ); in lowerBr() 3215 _br(TargetTrue, TargetFalse, DestT, CondMIPS32::Cond::EQZ); in lowerBr() 3229 _br(TargetTrue, TargetFalse, DestT, CondMIPS32::Cond::NEZ); in lowerBr() 3232 _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 | 362 void _br(CfgNode *TargetTrue, CfgNode *TargetFalse, in _br() argument 364 Context.insert<InstARM32Br>(TargetTrue, TargetFalse, Condition); in _br() 679 lowerInt1ForBranch(Operand *Boolean, const LowerInt1BranchTarget &TargetTrue,
|
D | IceInstARM32.cpp | 489 InstARM32Br::InstARM32Br(Cfg *Func, const CfgNode *TargetTrue, in InstARM32Br() argument 493 TargetTrue(TargetTrue), TargetFalse(TargetFalse), Label(Label) {} in InstARM32Br() 525 TargetTrue = getTargetFalse(); in optimizeBranch() 538 if (TargetTrue == OldNode) { in repointEdges() 539 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 | 3569 Operand *Boolean, const LowerInt1BranchTarget &TargetTrue, in lowerInt1ForBranch() argument 3618 Producer->getSrc(0), TargetTrue, NewTarget, SC_And); in lowerInt1ForBranch() 3628 lowerInt1ForBranch(Producer->getSrc(1), TargetTrue, NewTarget, SC_All) in lowerInt1ForBranch() 3638 TargetTrue.createForLabelOrDuplicate(NewShortCircuitLabel); in lowerInt1ForBranch() 3667 CfgNode *TargetTrue = Instr->getTargetTrue(); in lowerBr() local 3670 Instr->getCondition(), LowerInt1BranchTarget(TargetTrue), in lowerBr() 3677 _br(TargetTrue, Cond.WhenTrue1); in lowerBr() 3682 _br(TargetTrue, TargetFalse, Cond.WhenTrue0); in lowerBr() 3688 _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
|