Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp718 unsigned CmpOpcode = CmpInst::isFPPredicate(Pred) ? Instruction::FCmp in foldExtractedCmps() local
727 OldCost += TTI.getCmpSelInstrCost(CmpOpcode, I0->getType()) * 2; in foldExtractedCmps()
736 InstructionCost NewCost = TTI.getCmpSelInstrCost(CmpOpcode, X->getType()); in foldExtractedCmps()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h2118 unsigned CmpOpcode; in getMinMaxReductionCost() local
2120 CmpOpcode = Instruction::FCmp; in getMinMaxReductionCost()
2124 CmpOpcode = Instruction::ICmp; in getMinMaxReductionCost()
2141 thisT()->getCmpSelInstrCost(CmpOpcode, SubTy, CondTy, in getMinMaxReductionCost()
2159 (thisT()->getCmpSelInstrCost(CmpOpcode, Ty, CondTy, in getMinMaxReductionCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h903 unsigned CmpOpcode = 0,
909 unsigned CmpOpcode = 0,
H A DPPCISelLowering.cpp11032 unsigned CmpOpcode, in EmitAtomicBinary() argument
11077 if (CmpOpcode) in EmitAtomicBinary()
11116 if (CmpOpcode) { in EmitAtomicBinary()
11118 if (CmpOpcode == PPC::CMPW && AtomicSize < 4) { in EmitAtomicBinary()
11122 BuildMI(BB, dl, TII->get(CmpOpcode), PPC::CR0) in EmitAtomicBinary()
11125 BuildMI(BB, dl, TII->get(CmpOpcode), PPC::CR0) in EmitAtomicBinary()
11218 if (CmpOpcode == PPC::CMPW && !IsSignExtended) { in EmitPartwordAtomicBinary()
11249 if (CmpOpcode) in EmitPartwordAtomicBinary()
11357 if (CmpOpcode) { in EmitPartwordAtomicBinary()
11366 if (CmpOpcode == PPC::CMPW) { in EmitPartwordAtomicBinary()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMInstructionSelector.cpp459 CmpConstants(unsigned CmpOpcode, unsigned FlagsOpcode, unsigned SelectOpcode, in CmpConstants()
461 : ComparisonOpcode(CmpOpcode), ReadFlagsOpcode(FlagsOpcode), in CmpConstants()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FastISel.cpp2211 unsigned CmpOpcode = in X86FastEmitSSESelect() local
2213 Register CmpReg = fastEmitInst_rri(CmpOpcode, VK1, CmpLHSReg, CmpRHSReg, in X86FastEmitSSESelect()
2241 unsigned CmpOpcode = in X86FastEmitSSESelect() local
2246 Register CmpReg = fastEmitInst_rri(CmpOpcode, RC, CmpLHSReg, CmpRHSReg, in X86FastEmitSSESelect()
H A DX86TargetTransformInfo.cpp4106 unsigned CmpOpcode; in getMinMaxCost() local
4108 CmpOpcode = Instruction::FCmp; in getMinMaxCost()
4112 CmpOpcode = Instruction::ICmp; in getMinMaxCost()
4118 getCmpSelInstrCost(CmpOpcode, Ty, CondTy, CmpInst::BAD_ICMP_PREDICATE, in getMinMaxCost()
H A DX86ISelLowering.cpp42717 unsigned CmpOpcode = EFLAGS.getOpcode(); in combineSetCCMOVMSK() local
42718 if (CmpOpcode != X86ISD::CMP && CmpOpcode != X86ISD::SUB) in combineSetCCMOVMSK()
42744 bool IsAnyOf = CmpOpcode == X86ISD::CMP && CmpVal.isNullValue(); in combineSetCCMOVMSK()
42745 bool IsAllOf = CmpOpcode == X86ISD::SUB && NumElts <= CmpBits && in combineSetCCMOVMSK()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp1707 const unsigned CmpOpcode = CmpInstr.getOpcode(); in canInstrSubstituteCmpInstr() local
1708 if (!isADDSRegImm(CmpOpcode) && !isSUBSRegImm(CmpOpcode)) in canInstrSubstituteCmpInstr()
1784 const unsigned CmpOpcode = CmpInstr.getOpcode(); in canCmpInstrBeRemoved() local
1785 bool IsSubsRegImm = isSUBSRegImm(CmpOpcode); in canCmpInstrBeRemoved()
1788 if (!CmpValue && !IsSubsRegImm && !isADDSRegImm(CmpOpcode)) in canCmpInstrBeRemoved()
H A DAArch64TargetTransformInfo.cpp1914 unsigned CmpOpcode = in getMinMaxReductionCost() local
1917 getCmpSelInstrCost(CmpOpcode, LegalVTy, LegalVTy, in getMinMaxReductionCost()