/external/llvm/lib/CodeGen/ |
D | BranchFolding.cpp | 1004 SmallVector<MachineOperand, 4> NewCond(Cond); in TailMergeBlocks() local 1006 if (TII->ReverseBranchCondition(NewCond)) in TailMergeBlocks() 1046 NewCond, dl); in TailMergeBlocks() 1398 SmallVector<MachineOperand, 4> NewCond(CurCond); in OptimizeBlock() local 1399 if (!TII->ReverseBranchCondition(NewCond)) { in OptimizeBlock() 1402 TII->InsertBranch(*MBB, CurFBB, CurTBB, NewCond, dl); in OptimizeBlock()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 934 Value *NewCond = Builder->CreateFCmp(InvPred, TrueVal, FalseVal, in visitSelectInst() local 937 return SelectInst::Create(NewCond, FalseVal, TrueVal, in visitSelectInst() 977 Value *NewCond = Builder->CreateFCmp(InvPred, FalseVal, TrueVal, in visitSelectInst() local 980 return SelectInst::Create(NewCond, FalseVal, TrueVal, in visitSelectInst()
|
D | InstructionCombining.cpp | 2167 Value *NewCond = Builder->CreateTrunc(SI.getCondition(), Ty, "trunc"); in visitSwitchInst() local 2168 SI.setCondition(NewCond); in visitSwitchInst()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCCTRLoops.cpp | 572 Value *NewCond = CondBuilder.CreateCall(DecFunc, {}); in convertToCTRLoop() local 574 CountedExitBranch->setCondition(NewCond); in convertToCTRLoop()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 2201 Value *NewCond = PBI->getCondition(); in FoldBranchToCommonDest() local 2203 if (NewCond->hasOneUse() && isa<CmpInst>(NewCond)) { in FoldBranchToCommonDest() 2204 CmpInst *CI = cast<CmpInst>(NewCond); in FoldBranchToCommonDest() 2207 NewCond = Builder.CreateNot(NewCond, in FoldBranchToCommonDest() 2211 PBI->setCondition(NewCond); in FoldBranchToCommonDest() 2252 Instruction *NewCond = in FoldBranchToCommonDest() local 2255 PBI->setCondition(NewCond); in FoldBranchToCommonDest()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1770 ISD::CondCode NewCond = Cond; in SimplifySetCC() local 1774 NewCond = (Cond == ISD::SETULE) ? ISD::SETULT : ISD::SETUGE; in SimplifySetCC() 1789 return DAG.getSetCC(dl, VT, Shift, CmpRHS, NewCond); in SimplifySetCC() 1885 ISD::CondCode NewCond = UOF == 0 ? ISD::SETO : ISD::SETUO; in SimplifySetCC() local 1886 if (NewCond != Cond && (DCI.isBeforeLegalizeOps() || in SimplifySetCC() 1887 getCondCodeAction(NewCond, N0.getSimpleValueType()) == Legal)) in SimplifySetCC() 1888 return DAG.getSetCC(dl, VT, N0, N1, NewCond); in SimplifySetCC()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 2068 ICmpInst *NewCond = in OptimizeMax() local 2072 Cond->replaceAllUsesWith(NewCond); in OptimizeMax() 2073 CondUse->setUser(NewCond); in OptimizeMax() 2079 return NewCond; in OptimizeMax()
|
/external/llvm/lib/Target/X86/ |
D | X86InstrInfo.td | 2684 class CondCodeAlias<string Prefix,string Suffix, string OldCond, string NewCond, 2687 !strconcat(Prefix, NewCond, Suffix), VariantName>;
|
D | X86ISelLowering.cpp | 14909 SDValue NewCond = LowerSETCC(Cond, DAG); in LowerSELECT() local 14910 if (NewCond.getNode()) in LowerSELECT() 14911 Cond = NewCond; in LowerSELECT() 15479 SDValue NewCond = LowerSETCC(Cond, DAG); in LowerBRCOND() local 15480 if (NewCond.getNode()) in LowerBRCOND() 15481 Cond = NewCond; in LowerBRCOND()
|