Home
last modified time | relevance | path

Searched refs:NewCond (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/CodeGen/
DBranchFolding.cpp1004 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/
DInstCombineSelect.cpp934 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()
DInstructionCombining.cpp2167 Value *NewCond = Builder->CreateTrunc(SI.getCondition(), Ty, "trunc"); in visitSwitchInst() local
2168 SI.setCondition(NewCond); in visitSwitchInst()
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp572 Value *NewCond = CondBuilder.CreateCall(DecFunc, {}); in convertToCTRLoop() local
574 CountedExitBranch->setCondition(NewCond); in convertToCTRLoop()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2201 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/
DTargetLowering.cpp1770 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/
DLoopStrengthReduce.cpp2068 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/
DX86InstrInfo.td2684 class CondCodeAlias<string Prefix,string Suffix, string OldCond, string NewCond,
2687 !strconcat(Prefix, NewCond, Suffix), VariantName>;
DX86ISelLowering.cpp14909 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()