| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonSubtarget.cpp | 753 const auto CmpOpcode = [](auto A, auto B) { return A.Opcode < B.Opcode; }; in getIntrinsicId() local 755 (llvm::sort(ScalarInts, CmpOpcode), true); in getIntrinsicId() 757 (llvm::sort(HvxInts, CmpOpcode), true); in getIntrinsicId() 762 auto FoundScalar = std::lower_bound(BS, ES, Scalar{Opc, 0}, CmpOpcode); in getIntrinsicId() 766 auto FoundHvx = std::lower_bound(BH, EH, Hvx{Opc, 0, 0}, CmpOpcode); in getIntrinsicId()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 2355 unsigned CmpOpcode; in getMinMaxReductionCost() local 2357 CmpOpcode = Instruction::FCmp; in getMinMaxReductionCost() 2361 CmpOpcode = Instruction::ICmp; in getMinMaxReductionCost() 2378 thisT()->getCmpSelInstrCost(CmpOpcode, SubTy, CondTy, in getMinMaxReductionCost() 2397 (thisT()->getCmpSelInstrCost(CmpOpcode, Ty, CondTy, in getMinMaxReductionCost()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.h | 946 unsigned CmpOpcode = 0, 952 unsigned CmpOpcode = 0,
|
| H A D | PPCISelLowering.cpp | 11539 unsigned CmpOpcode, in EmitAtomicBinary() argument 11581 CmpOpcode ? F->CreateMachineBasicBlock(LLVM_BB) : nullptr; in EmitAtomicBinary() 11584 if (CmpOpcode) in EmitAtomicBinary() 11623 if (CmpOpcode) { in EmitAtomicBinary() 11626 if (CmpOpcode == PPC::CMPW && AtomicSize < 4) { in EmitAtomicBinary() 11630 BuildMI(BB, dl, TII->get(CmpOpcode), CrReg).addReg(ExtReg).addReg(incr); in EmitAtomicBinary() 11632 BuildMI(BB, dl, TII->get(CmpOpcode), CrReg).addReg(dest).addReg(incr); in EmitAtomicBinary() 11714 unsigned BinOpcode, unsigned CmpOpcode, unsigned CmpPred) const { in EmitPartwordAtomicBinary() argument 11727 if (CmpOpcode == PPC::CMPW && !IsSignExtended) { in EmitPartwordAtomicBinary() 11735 return EmitAtomicBinary(MI, BB, is8bit ? 1 : 2, BinOpcode, CmpOpcode, in EmitPartwordAtomicBinary() [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| H A D | VectorCombine.cpp | 896 unsigned CmpOpcode = CmpInst::isFPPredicate(Pred) ? Instruction::FCmp in foldExtractedCmps() local 907 TTI.getCmpSelInstrCost(CmpOpcode, I0->getType(), in foldExtractedCmps() 919 CmpOpcode, X->getType(), CmpInst::makeCmpResultType(X->getType()), Pred); in foldExtractedCmps()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86FastISel.cpp | 2204 unsigned CmpOpcode = in X86FastEmitSSESelect() local 2206 Register CmpReg = fastEmitInst_rri(CmpOpcode, VK1, CmpLHSReg, CmpRHSReg, in X86FastEmitSSESelect() 2234 unsigned CmpOpcode = in X86FastEmitSSESelect() local 2239 Register CmpReg = fastEmitInst_rri(CmpOpcode, RC, CmpLHSReg, CmpRHSReg, in X86FastEmitSSESelect()
|
| H A D | X86TargetTransformInfo.cpp | 5290 unsigned CmpOpcode; in getMinMaxCost() local 5292 CmpOpcode = Instruction::FCmp; in getMinMaxCost() 5296 CmpOpcode = Instruction::ICmp; in getMinMaxCost() 5302 getCmpSelInstrCost(CmpOpcode, Ty, CondTy, CmpInst::BAD_ICMP_PREDICATE, in getMinMaxCost()
|
| H A D | X86ISelLowering.cpp | 46754 unsigned CmpOpcode = EFLAGS.getOpcode(); in combineSetCCMOVMSK() local 46755 if (CmpOpcode != X86ISD::CMP && CmpOpcode != X86ISD::SUB) in combineSetCCMOVMSK() 46781 bool IsAnyOf = CmpOpcode == X86ISD::CMP && CmpVal.isZero(); in combineSetCCMOVMSK() 46782 bool IsAllOf = (CmpOpcode == X86ISD::SUB || CmpOpcode == X86ISD::CMP) && in combineSetCCMOVMSK()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64InstrInfo.cpp | 1703 const unsigned CmpOpcode = CmpInstr.getOpcode(); in canInstrSubstituteCmpInstr() local 1704 if (!isADDSRegImm(CmpOpcode) && !isSUBSRegImm(CmpOpcode)) in canInstrSubstituteCmpInstr() 1781 const unsigned CmpOpcode = CmpInstr.getOpcode(); in canCmpInstrBeRemoved() local 1782 bool IsSubsRegImm = isSUBSRegImm(CmpOpcode); in canCmpInstrBeRemoved() 1785 if (!CmpValue && !IsSubsRegImm && !isADDSRegImm(CmpOpcode)) in canCmpInstrBeRemoved()
|