Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h2266 unsigned CmpOpcode; in getMinMaxReductionCost() local
2268 CmpOpcode = Instruction::FCmp; in getMinMaxReductionCost()
2272 CmpOpcode = Instruction::ICmp; in getMinMaxReductionCost()
2289 thisT()->getCmpSelInstrCost(CmpOpcode, SubTy, CondTy, in getMinMaxReductionCost()
2307 (thisT()->getCmpSelInstrCost(CmpOpcode, Ty, CondTy, in getMinMaxReductionCost()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h939 unsigned CmpOpcode = 0,
945 unsigned CmpOpcode = 0,
H A DPPCISelLowering.cpp11375 unsigned CmpOpcode, in EmitAtomicBinary() argument
11420 if (CmpOpcode) in EmitAtomicBinary()
11459 if (CmpOpcode) { in EmitAtomicBinary()
11461 if (CmpOpcode == PPC::CMPW && AtomicSize < 4) { in EmitAtomicBinary()
11465 BuildMI(BB, dl, TII->get(CmpOpcode), PPC::CR0) in EmitAtomicBinary()
11468 BuildMI(BB, dl, TII->get(CmpOpcode), PPC::CR0) in EmitAtomicBinary()
11561 if (CmpOpcode == PPC::CMPW && !IsSignExtended) { in EmitPartwordAtomicBinary()
11592 if (CmpOpcode) in EmitPartwordAtomicBinary()
11700 if (CmpOpcode) { in EmitPartwordAtomicBinary()
11709 if (CmpOpcode == PPC::CMPW) { in EmitPartwordAtomicBinary()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMInstructionSelector.cpp459 CmpConstants(unsigned CmpOpcode, unsigned FlagsOpcode, unsigned SelectOpcode, in CmpConstants()
461 : ComparisonOpcode(CmpOpcode), ReadFlagsOpcode(FlagsOpcode), in CmpConstants()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp751 unsigned CmpOpcode = CmpInst::isFPPredicate(Pred) ? Instruction::FCmp in foldExtractedCmps() local
761 TTI.getCmpSelInstrCost(CmpOpcode, I0->getType(), in foldExtractedCmps()
773 CmpOpcode, X->getType(), CmpInst::makeCmpResultType(X->getType()), Pred); in foldExtractedCmps()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86FastISel.cpp2206 unsigned CmpOpcode = in X86FastEmitSSESelect() local
2208 Register CmpReg = fastEmitInst_rri(CmpOpcode, VK1, CmpLHSReg, CmpRHSReg, in X86FastEmitSSESelect()
2236 unsigned CmpOpcode = in X86FastEmitSSESelect() local
2241 Register CmpReg = fastEmitInst_rri(CmpOpcode, RC, CmpLHSReg, CmpRHSReg, in X86FastEmitSSESelect()
H A DX86TargetTransformInfo.cpp4641 unsigned CmpOpcode; in getMinMaxCost() local
4643 CmpOpcode = Instruction::FCmp; in getMinMaxCost()
4647 CmpOpcode = Instruction::ICmp; in getMinMaxCost()
4653 getCmpSelInstrCost(CmpOpcode, Ty, CondTy, CmpInst::BAD_ICMP_PREDICATE, in getMinMaxCost()
H A DX86ISelLowering.cpp45540 unsigned CmpOpcode = EFLAGS.getOpcode(); in combineSetCCMOVMSK() local
45541 if (CmpOpcode != X86ISD::CMP && CmpOpcode != X86ISD::SUB) in combineSetCCMOVMSK()
45567 bool IsAnyOf = CmpOpcode == X86ISD::CMP && CmpVal.isZero(); in combineSetCCMOVMSK()
45568 bool IsAllOf = (CmpOpcode == X86ISD::SUB || CmpOpcode == X86ISD::CMP) && in combineSetCCMOVMSK()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp1664 const unsigned CmpOpcode = CmpInstr.getOpcode(); in canInstrSubstituteCmpInstr() local
1665 if (!isADDSRegImm(CmpOpcode) && !isSUBSRegImm(CmpOpcode)) in canInstrSubstituteCmpInstr()
1742 const unsigned CmpOpcode = CmpInstr.getOpcode(); in canCmpInstrBeRemoved() local
1743 bool IsSubsRegImm = isSUBSRegImm(CmpOpcode); in canCmpInstrBeRemoved()
1746 if (!CmpValue && !IsSubsRegImm && !isADDSRegImm(CmpOpcode)) in canCmpInstrBeRemoved()