/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
H A D | VectorCombine.cpp | 715 unsigned CmpOpcode = CmpInst::isFPPredicate(Pred) ? Instruction::FCmp in foldExtractedCmps() local 724 OldCost += TTI.getCmpSelInstrCost(CmpOpcode, I0->getType()) * 2; in foldExtractedCmps() 733 InstructionCost NewCost = TTI.getCmpSelInstrCost(CmpOpcode, X->getType()); in foldExtractedCmps()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 2072 unsigned CmpOpcode; in getMinMaxReductionCost() local 2074 CmpOpcode = Instruction::FCmp; in getMinMaxReductionCost() 2078 CmpOpcode = Instruction::ICmp; in getMinMaxReductionCost() 2097 thisT()->getCmpSelInstrCost(CmpOpcode, SubTy, CondTy, in getMinMaxReductionCost() 2122 (thisT()->getCmpSelInstrCost(CmpOpcode, Ty, CondTy, in getMinMaxReductionCost()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.h | 886 unsigned CmpOpcode = 0, 892 unsigned CmpOpcode = 0,
|
H A D | PPCISelLowering.cpp | 10988 unsigned CmpOpcode, in EmitAtomicBinary() argument 11030 CmpOpcode ? F->CreateMachineBasicBlock(LLVM_BB) : nullptr; in EmitAtomicBinary() 11033 if (CmpOpcode) in EmitAtomicBinary() 11072 if (CmpOpcode) { in EmitAtomicBinary() 11074 if (CmpOpcode == PPC::CMPW && AtomicSize < 4) { in EmitAtomicBinary() 11078 BuildMI(BB, dl, TII->get(CmpOpcode), PPC::CR0) in EmitAtomicBinary() 11081 BuildMI(BB, dl, TII->get(CmpOpcode), PPC::CR0) in EmitAtomicBinary() 11161 unsigned BinOpcode, unsigned CmpOpcode, unsigned CmpPred) const { in EmitPartwordAtomicBinary() argument 11174 if (CmpOpcode == PPC::CMPW && !IsSignExtended) { in EmitPartwordAtomicBinary() 11182 return EmitAtomicBinary(MI, BB, is8bit ? 1 : 2, BinOpcode, CmpOpcode, in EmitPartwordAtomicBinary() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
H A D | ARMInstructionSelector.cpp | 459 CmpConstants(unsigned CmpOpcode, unsigned FlagsOpcode, unsigned SelectOpcode, in CmpConstants() 461 : ComparisonOpcode(CmpOpcode), ReadFlagsOpcode(FlagsOpcode), in CmpConstants()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.cpp | 1565 unsigned CmpOpcode = in getMinMaxReductionCost() local 1568 getCmpSelInstrCost(CmpOpcode, LegalVTy, LegalVTy, in getMinMaxReductionCost()
|
H A D | AArch64InstrInfo.cpp | 1703 const unsigned CmpOpcode = CmpInstr.getOpcode(); in canInstrSubstituteCmpInstr() local 1704 if (!isADDSRegImm(CmpOpcode) && !isSUBSRegImm(CmpOpcode)) in canInstrSubstituteCmpInstr() 1780 const unsigned CmpOpcode = CmpInstr.getOpcode(); in canCmpInstrBeRemoved() local 1781 bool IsSubsRegImm = isSUBSRegImm(CmpOpcode); in canCmpInstrBeRemoved() 1784 if (!CmpValue && !IsSubsRegImm && !isADDSRegImm(CmpOpcode)) in canCmpInstrBeRemoved()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86FastISel.cpp | 2211 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 D | X86TargetTransformInfo.cpp | 3884 unsigned CmpOpcode; in getMinMaxCost() local 3886 CmpOpcode = Instruction::FCmp; in getMinMaxCost() 3890 CmpOpcode = Instruction::ICmp; in getMinMaxCost() 3896 getCmpSelInstrCost(CmpOpcode, Ty, CondTy, CmpInst::BAD_ICMP_PREDICATE, in getMinMaxCost()
|
H A D | X86ISelLowering.cpp | 42402 unsigned CmpOpcode = EFLAGS.getOpcode(); in combineSetCCMOVMSK() local 42403 if (CmpOpcode != X86ISD::CMP && CmpOpcode != X86ISD::SUB) in combineSetCCMOVMSK() 42429 bool IsAnyOf = CmpOpcode == X86ISD::CMP && CmpVal.isNullValue(); in combineSetCCMOVMSK() 42430 bool IsAllOf = CmpOpcode == X86ISD::SUB && NumElts <= CmpBits && in combineSetCCMOVMSK()
|