/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCReduceCRLogicals.cpp | 120 MachineInstr *NewCond; member 129 if (NewCond && NewCond->getParent() != MBB) in allInstrsInSameMBB() 207 if (BSI.NewCond) { in splitMBB() 210 FirstTerminator->getOperand(0).setReg(BSI.NewCond->getOperand(0).getReg()); in splitMBB()
|
D | PPCCTRLoops.cpp | 671 Value *NewCond = CondBuilder.CreateCall(DecFunc, {}); in convertToCTRLoop() local 673 CountedExitBranch->setCondition(NewCond); in convertToCTRLoop()
|
/external/llvm/lib/CodeGen/ |
D | BranchFolding.cpp | 1034 SmallVector<MachineOperand, 4> NewCond(Cond); in TailMergeBlocks() local 1036 if (TII->ReverseBranchCondition(NewCond)) in TailMergeBlocks() 1076 NewCond, dl); in TailMergeBlocks() 1429 SmallVector<MachineOperand, 4> NewCond(CurCond); in OptimizeBlock() local 1430 if (!TII->ReverseBranchCondition(NewCond)) { in OptimizeBlock() 1433 TII->InsertBranch(*MBB, CurFBB, CurTBB, NewCond, dl); in OptimizeBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | GuardWidening.cpp | 100 void setGuardCondition(Instruction *GuardInst, Value *NewCond); 354 Value *NewCond) { in setGuardCondition() argument 358 GI->setArgOperand(0, NewCond); in setGuardCondition()
|
D | LoopStrengthReduce.cpp | 2310 ICmpInst *NewCond = in OptimizeMax() local 2314 Cond->replaceAllUsesWith(NewCond); in OptimizeMax() 2315 CondUse->setUser(NewCond); in OptimizeMax() 2321 return NewCond; in OptimizeMax()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | BranchFolding.cpp | 1174 SmallVector<MachineOperand, 4> NewCond(Cond); in TailMergeBlocks() local 1176 if (TII->reverseBranchCondition(NewCond)) in TailMergeBlocks() 1216 NewCond, dl); in TailMergeBlocks() 1652 SmallVector<MachineOperand, 4> NewCond(CurCond); in OptimizeBlock() local 1653 if (!TII->reverseBranchCondition(NewCond)) { in OptimizeBlock() 1656 TII->insertBranch(*MBB, CurFBB, CurTBB, NewCond, dl); in OptimizeBlock()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 1028 Value *NewCond = Builder->CreateFCmp(InvPred, TrueVal, FalseVal, in visitSelectInst() local 1031 return SelectInst::Create(NewCond, FalseVal, TrueVal, in visitSelectInst() 1071 Value *NewCond = Builder->CreateFCmp(InvPred, FalseVal, TrueVal, in visitSelectInst() local 1074 return SelectInst::Create(NewCond, FalseVal, TrueVal, in visitSelectInst()
|
D | InstructionCombining.cpp | 2197 Value *NewCond = Builder->CreateTrunc(Cond, Ty, "trunc"); in visitSwitchInst() local 2198 SI.setCondition(NewCond); in visitSwitchInst()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCCTRLoops.cpp | 603 Value *NewCond = CondBuilder.CreateCall(DecFunc, {}); in convertToCTRLoop() local 605 CountedExitBranch->setCondition(NewCond); in convertToCTRLoop()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1888 ISD::CondCode NewCond; in optimizeSetCCOfSignedTruncationCheck() local 1890 NewCond = ISD::CondCode::SETEQ; in optimizeSetCCOfSignedTruncationCheck() 1892 NewCond = ISD::CondCode::SETEQ; in optimizeSetCCOfSignedTruncationCheck() 1896 NewCond = ISD::CondCode::SETNE; in optimizeSetCCOfSignedTruncationCheck() 1900 NewCond = ISD::CondCode::SETNE; in optimizeSetCCOfSignedTruncationCheck() 1932 SDValue T2 = DAG.getSetCC(DL, SCCVT, T1, X, NewCond); in optimizeSetCCOfSignedTruncationCheck() 2517 ISD::CondCode NewCond = Cond; in SimplifySetCC() local 2521 NewCond = (Cond == ISD::SETULE) ? ISD::SETULT : ISD::SETUGE; in SimplifySetCC() 2535 return DAG.getSetCC(dl, VT, Shift, CmpRHS, NewCond); in SimplifySetCC() 2633 ISD::CondCode NewCond = UOF == 0 ? ISD::SETO : ISD::SETUO; in SimplifySetCC() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | ScalarEvolutionTest.cpp | 875 auto *NewCond = Builder.CreateICmp( in TEST_F() local 877 Builder.CreateCondBr(NewCond, L, Post); in TEST_F() 964 auto *NewCond = Builder.CreateICmp( in TEST_F() local 966 Builder.CreateCondBr(NewCond, L, Post); in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 1654 Value *NewCond = Builder.CreateFCmp(InvPred, TrueVal, FalseVal, in visitSelectInst() local 1657 return SelectInst::Create(NewCond, FalseVal, TrueVal, in visitSelectInst() 1697 Value *NewCond = Builder.CreateFCmp(InvPred, FalseVal, TrueVal, in visitSelectInst() local 1700 return SelectInst::Create(NewCond, FalseVal, TrueVal, in visitSelectInst()
|
D | InstructionCombining.cpp | 2387 Value *NewCond = Builder.CreateTrunc(Cond, Ty, "trunc"); in visitSwitchInst() local 2388 SI.setCondition(NewCond); in visitSwitchInst()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 2316 Value *NewCond = PBI->getCondition(); in FoldBranchToCommonDest() local 2318 if (NewCond->hasOneUse() && isa<CmpInst>(NewCond)) { in FoldBranchToCommonDest() 2319 CmpInst *CI = cast<CmpInst>(NewCond); in FoldBranchToCommonDest() 2322 NewCond = in FoldBranchToCommonDest() 2323 Builder.CreateNot(NewCond, PBI->getCondition()->getName() + ".not"); in FoldBranchToCommonDest() 2326 PBI->setCondition(NewCond); in FoldBranchToCommonDest() 2367 Instruction *NewCond = cast<Instruction>( in FoldBranchToCommonDest() local 2369 PBI->setCondition(NewCond); in FoldBranchToCommonDest()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 2671 Value *NewCond = PBI->getCondition(); in FoldBranchToCommonDest() local 2673 if (NewCond->hasOneUse() && isa<CmpInst>(NewCond)) { in FoldBranchToCommonDest() 2674 CmpInst *CI = cast<CmpInst>(NewCond); in FoldBranchToCommonDest() 2677 NewCond = in FoldBranchToCommonDest() 2678 Builder.CreateNot(NewCond, PBI->getCondition()->getName() + ".not"); in FoldBranchToCommonDest() 2681 PBI->setCondition(NewCond); in FoldBranchToCommonDest() 2722 Instruction *NewCond = cast<Instruction>( in FoldBranchToCommonDest() local 2724 PBI->setCondition(NewCond); in FoldBranchToCommonDest()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1885 ISD::CondCode NewCond = Cond; in SimplifySetCC() local 1889 NewCond = (Cond == ISD::SETULE) ? ISD::SETULT : ISD::SETUGE; in SimplifySetCC() 1904 return DAG.getSetCC(dl, VT, Shift, CmpRHS, NewCond); in SimplifySetCC() 2000 ISD::CondCode NewCond = UOF == 0 ? ISD::SETO : ISD::SETUO; in SimplifySetCC() local 2001 if (NewCond != Cond && (DCI.isBeforeLegalizeOps() || in SimplifySetCC() 2002 getCondCodeAction(NewCond, N0.getSimpleValueType()) == Legal)) in SimplifySetCC() 2003 return DAG.getSetCC(dl, VT, N0, N1, NewCond); in SimplifySetCC()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 2052 ICmpInst *NewCond = in OptimizeMax() local 2056 Cond->replaceAllUsesWith(NewCond); in OptimizeMax() 2057 CondUse->setUser(NewCond); in OptimizeMax() 2063 return NewCond; in OptimizeMax()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 3435 SDValue NewCond = DAG.getSetCC(SL, Cond.getValueType(), LHS, RHS, NewCC); in performSelectCombine() local 3436 return DAG.getNode(ISD::SELECT, SL, VT, NewCond, False, True); in performSelectCombine()
|
/external/llvm/lib/Target/X86/ |
D | X86InstrInfo.td | 2688 class CondCodeAlias<string Prefix,string Suffix, string OldCond, string NewCond, 2691 !strconcat(Prefix, NewCond, Suffix), VariantName>;
|
D | X86ISelLowering.cpp | 15823 if (SDValue NewCond = LowerSETCC(Cond, DAG)) in LowerSELECT() local 15824 Cond = NewCond; in LowerSELECT() 16554 if (SDValue NewCond = LowerSETCC(Cond, DAG)) in LowerBRCOND() local 16555 Cond = NewCond; in LowerBRCOND()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86InstrInfo.td | 3089 class CondCodeAlias<string Prefix,string Suffix, string OldCond, string NewCond, 3092 !strconcat(Prefix, NewCond, Suffix), VariantName>;
|
D | X86ISelLowering.cpp | 18933 if (SDValue NewCond = LowerSETCC(Cond, DAG)) { in LowerSELECT() local 18934 Cond = NewCond; in LowerSELECT() 19667 if (SDValue NewCond = LowerSETCC(Cond, DAG)) in LowerBRCOND() local 19668 Cond = NewCond; in LowerBRCOND()
|