Home
last modified time | relevance | path

Searched refs:NewCmp (Results 1 – 21 of 21) sorted by relevance

/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64CondBrTuning.cpp150 MachineInstr *NewCmp = nullptr, *NewBr = nullptr; in tryToTuneBranch() local
204 NewCmp = convertToFlagSetting(DefMI, IsFlagSetting); in tryToTuneBranch()
259 NewCmp = convertToFlagSetting(DefMI, IsFlagSetting); in tryToTuneBranch()
266 (void)NewCmp; (void)NewBr; in tryToTuneBranch()
267 assert(NewCmp && NewBr && "Expected new instructions."); in tryToTuneBranch()
270 LLVM_DEBUG(NewCmp->print(dbgs())); in tryToTuneBranch()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64CondBrTuning.cpp150 MachineInstr *NewCmp = nullptr, *NewBr = nullptr; in tryToTuneBranch() local
208 NewCmp = convertToFlagSetting(DefMI, IsFlagSetting); in tryToTuneBranch()
267 NewCmp = convertToFlagSetting(DefMI, IsFlagSetting); in tryToTuneBranch()
274 (void)NewCmp; (void)NewBr; in tryToTuneBranch()
275 assert(NewCmp && NewBr && "Expected new instructions."); in tryToTuneBranch()
278 LLVM_DEBUG(NewCmp->print(dbgs())); in tryToTuneBranch()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86CondBrFolding.cpp338 MachineInstr *NewCmp = MBBInfo->CmpInstr; in optimizeCondBr() local
339 NewCmp->removeFromParent(); in optimizeCondBr()
340 RootMBB->insert(RootMBBInfo->CmpInstr, NewCmp); in optimizeCondBr()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1165 Value *NewCmp = SPF == SPF_SMAX in visitSelectInst() local
1169 Builder->CreateNot(Builder->CreateSelect(NewCmp, NewLHS, NewRHS)); in visitSelectInst()
/external/llvm/lib/CodeGen/
DAtomicExpandPass.cpp927 Value *NewCmp = Builder.CreatePtrToInt(CI->getCompareOperand(), NewTy); in convertCmpXchgToIntegerType() local
931 auto *NewCI = Builder.CreateAtomicCmpXchg(NewAddr, NewCmp, NewNewVal, in convertCmpXchgToIntegerType()
DCodeGenPrepare.cpp5437 CmpInst *NewCmp = in sinkAndCmp() local
5440 TheUse = NewCmp; in sinkAndCmp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DAtomicExpandPass.cpp1066 Value *NewCmp = Builder.CreatePtrToInt(CI->getCompareOperand(), NewTy); in convertCmpXchgToIntegerType() local
1070 auto *NewCI = Builder.CreateAtomicCmpXchg(NewAddr, NewCmp, NewNewVal, in convertCmpXchgToIntegerType()
/external/llvm-project/llvm/lib/CodeGen/
DAtomicExpandPass.cpp1082 Value *NewCmp = Builder.CreatePtrToInt(CI->getCompareOperand(), NewTy); in convertCmpXchgToIntegerType() local
1086 auto *NewCI = Builder.CreateAtomicCmpXchg(NewAddr, NewCmp, NewNewVal, in convertCmpXchgToIntegerType()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp5518 Value *NewCmp = Builder.CreateCmp(Pred, V1, V2); in foldVectorCmp() local
5519 return new ShuffleVectorInst(NewCmp, UndefValue::get(NewCmp->getType()), M); in foldVectorCmp()
5539 Value *NewCmp = Builder.CreateCmp(Pred, V1, C); in foldVectorCmp() local
5540 return new ShuffleVectorInst(NewCmp, UndefValue::get(NewCmp->getType()), in foldVectorCmp()
DInstCombineSelect.cpp1439 Value *NewCmp = IC.Builder.CreateICmp(Pred, X, FlippedStrictness->second, in tryToReuseConstantFromSelectInComparison() local
1441 IC.replaceOperand(Sel, 0, NewCmp); in tryToReuseConstantFromSelectInComparison()
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.cpp715 MachineInstr *NewCmp = BuildMI(&MBB, DL, get(Hexagon::C2_cmpgtui), LoopEnd). in reduceLoopCount() local
725 PrevInsts.push_back(NewCmp); in reduceLoopCount()
736 Cond.push_back(NewCmp->getOperand(0)); in reduceLoopCount()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1387 Value *NewCmp = Builder.CreateICmp(Pred, X, FlippedStrictness->second, in tryToReuseConstantFromSelectInComparison() local
1389 Sel.setCondition(NewCmp); in tryToReuseConstantFromSelectInComparison()
DInstCombineCompares.cpp5417 Value *NewCmp = isa<ICmpInst>(Cmp) ? Builder.CreateICmp(P, V1, V2) in foldVectorCmp() local
5419 return new ShuffleVectorInst(NewCmp, UndefValue::get(NewCmp->getType()), M); in foldVectorCmp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.cpp711 MachineInstr *NewCmp = BuildMI(&MBB, DL, in createTripCountGreaterCondition() local
716 Cond.push_back(NewCmp->getOperand(0)); in createTripCountGreaterCondition()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.cpp717 MachineInstr *NewCmp = BuildMI(&MBB, DL, in createTripCountGreaterCondition() local
722 Cond.push_back(NewCmp->getOperand(0)); in createTripCountGreaterCondition()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp2643 MachineInstr *NewCmp in fewerElementsVectorCmp() local
2645 NewCmp->setFlags(MI.getFlags()); in fewerElementsVectorCmp()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp3415 MachineInstr *NewCmp in fewerElementsVectorCmp() local
3417 NewCmp->setFlags(MI.getFlags()); in fewerElementsVectorCmp()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp10992 SDValue NewCmp = getARMCmp(LHS, RHS, ISD::SETNE, ARMcc, DAG, dl); in PerformCMOVCombine() local
10994 N->getOperand(3), NewCmp); in PerformCMOVCombine()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp14487 SDValue NewCmp = getARMCmp(LHS, RHS, ISD::SETNE, ARMcc, DAG, dl); in PerformCMOVCombine() local
14489 N->getOperand(3), NewCmp); in PerformCMOVCombine()
/external/llvm-project/llvm/lib/Target/ARM/
DARMISelLowering.cpp16123 SDValue NewCmp = getARMCmp(LHS, RHS, ISD::SETNE, ARMcc, DAG, dl); in PerformCMOVCombine() local
16125 N->getOperand(3), NewCmp); in PerformCMOVCombine()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp30614 SDValue NewCmp = DAG.getNode(X86ISD::CMP, DL, MVT::i32, CmpOp0, in OptimizeConditionalInDecrement() local
30622 NewCmp); in OptimizeConditionalInDecrement()
30625 DAG.getConstant(0, DL, OtherVal.getValueType()), NewCmp); in OptimizeConditionalInDecrement()