Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DBranchFolding.cpp878 SmallVector<MachineOperand, 4> NewCond(Cond); in TailMergeBlocks() local
880 if (TII->ReverseBranchCondition(NewCond)) in TailMergeBlocks()
914 TII->InsertBranch(*PBB, (TBB == IBB) ? FBB : TBB, 0, NewCond, dl); in TailMergeBlocks()
1202 SmallVector<MachineOperand, 4> NewCond(CurCond); in OptimizeBlock() local
1203 if (!TII->ReverseBranchCondition(NewCond)) { in OptimizeBlock()
1205 TII->InsertBranch(*MBB, CurFBB, CurTBB, NewCond, dl); in OptimizeBlock()
/external/llvm/lib/CodeGen/
DBranchFolding.cpp1034 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/lib/Transforms/Utils/
DSimplifyCFG.cpp1594 Value *NewCond = PBI->getCondition(); in FoldBranchToCommonDest() local
1596 if (NewCond->hasOneUse() && isa<CmpInst>(NewCond)) { in FoldBranchToCommonDest()
1597 CmpInst *CI = cast<CmpInst>(NewCond); in FoldBranchToCommonDest()
1600 NewCond = Builder.CreateNot(NewCond, in FoldBranchToCommonDest()
1604 PBI->setCondition(NewCond); in FoldBranchToCommonDest()
1628 Instruction *NewCond = in FoldBranchToCommonDest() local
1631 PBI->setCondition(NewCond); in FoldBranchToCommonDest()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1028 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()
DInstructionCombining.cpp2197 Value *NewCond = Builder->CreateTrunc(Cond, Ty, "trunc"); in visitSwitchInst() local
2198 SI.setCondition(NewCond); in visitSwitchInst()
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp603 Value *NewCond = CondBuilder.CreateCall(DecFunc, {}); in convertToCTRLoop() local
605 CountedExitBranch->setCondition(NewCond); in convertToCTRLoop()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2316 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/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1885 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/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1740 ICmpInst *NewCond = in OptimizeMax() local
1744 Cond->replaceAllUsesWith(NewCond); in OptimizeMax()
1745 CondUse->setUser(NewCond); in OptimizeMax()
1751 return NewCond; in OptimizeMax()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp2052 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/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2405 ISD::CondCode NewCond = UOF == 0 ? ISD::SETO : ISD::SETUO; in SimplifySetCC() local
2406 if (NewCond != Cond) in SimplifySetCC()
2407 return DAG.getSetCC(dl, VT, N0, N1, NewCond); in SimplifySetCC()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86InstrInfo.td1527 class CondCodeAlias<string Prefix,string Suffix, string OldCond, string NewCond>
1529 !strconcat(Prefix, NewCond, Suffix)>;
DX86ISelLowering.cpp8635 SDValue NewCond = LowerSETCC(Cond, DAG); in LowerSELECT() local
8636 if (NewCond.getNode()) in LowerSELECT()
8637 Cond = NewCond; in LowerSELECT()
8784 SDValue NewCond = LowerSETCC(Cond, DAG); in LowerBRCOND() local
8785 if (NewCond.getNode()) in LowerBRCOND()
8786 Cond = NewCond; in LowerBRCOND()
/external/llvm/lib/Target/X86/
DX86InstrInfo.td2688 class CondCodeAlias<string Prefix,string Suffix, string OldCond, string NewCond,
2691 !strconcat(Prefix, NewCond, Suffix), VariantName>;
DX86ISelLowering.cpp15823 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()