Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/Hexagon/
DHexagonSubtarget.cpp753 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()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h1663 unsigned CmpOpcode; in getMinMaxReductionCost() local
1665 CmpOpcode = Instruction::FCmp; in getMinMaxReductionCost()
1669 CmpOpcode = Instruction::ICmp; in getMinMaxReductionCost()
1689 ConcreteTTI->getCmpSelInstrCost(CmpOpcode, SubTy, CondTy, nullptr) + in getMinMaxReductionCost()
1714 (ConcreteTTI->getCmpSelInstrCost(CmpOpcode, Ty, CondTy, nullptr) + in getMinMaxReductionCost()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.h782 unsigned CmpOpcode = 0,
788 unsigned CmpOpcode = 0,
DPPCISelLowering.cpp10621 unsigned CmpOpcode, in EmitAtomicBinary() argument
10663 CmpOpcode ? F->CreateMachineBasicBlock(LLVM_BB) : nullptr; in EmitAtomicBinary()
10666 if (CmpOpcode) in EmitAtomicBinary()
10705 if (CmpOpcode) { in EmitAtomicBinary()
10707 if (CmpOpcode == PPC::CMPW && AtomicSize < 4) { in EmitAtomicBinary()
10711 BuildMI(BB, dl, TII->get(CmpOpcode), PPC::CR0) in EmitAtomicBinary()
10714 BuildMI(BB, dl, TII->get(CmpOpcode), PPC::CR0) in EmitAtomicBinary()
10739 unsigned BinOpcode, unsigned CmpOpcode, unsigned CmpPred) const { in EmitPartwordAtomicBinary() argument
10742 return EmitAtomicBinary(MI, BB, is8bit ? 1 : 2, BinOpcode, CmpOpcode, in EmitPartwordAtomicBinary()
10767 CmpOpcode ? F->CreateMachineBasicBlock(LLVM_BB) : nullptr; in EmitPartwordAtomicBinary()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h2355 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()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/ARM/
DARMInstructionSelector.cpp459 CmpConstants(unsigned CmpOpcode, unsigned FlagsOpcode, unsigned SelectOpcode, in CmpConstants()
461 : ComparisonOpcode(CmpOpcode), ReadFlagsOpcode(FlagsOpcode), in CmpConstants()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.h946 unsigned CmpOpcode = 0,
952 unsigned CmpOpcode = 0,
DPPCISelLowering.cpp11539 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 …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMInstructionSelector.cpp461 CmpConstants(unsigned CmpOpcode, unsigned FlagsOpcode, unsigned SelectOpcode, in CmpConstants()
463 : ComparisonOpcode(CmpOpcode), ReadFlagsOpcode(FlagsOpcode), in CmpConstants()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Vectorize/
DVectorCombine.cpp896 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FastISel.cpp2208 unsigned CmpOpcode = in X86FastEmitSSESelect() local
2210 unsigned CmpReg = fastEmitInst_rri(CmpOpcode, VK1, CmpLHSReg, CmpLHSIsKill, in X86FastEmitSSESelect()
2239 unsigned CmpOpcode = in X86FastEmitSSESelect() local
2244 unsigned CmpReg = fastEmitInst_rri(CmpOpcode, RC, CmpLHSReg, CmpLHSIsKill, in X86FastEmitSSESelect()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/X86/
DX86FastISel.cpp2204 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()
DX86TargetTransformInfo.cpp5290 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()
DX86ISelLowering.cpp46739 unsigned CmpOpcode = EFLAGS.getOpcode(); in combineSetCCMOVMSK() local
46740 if (CmpOpcode != X86ISD::CMP && CmpOpcode != X86ISD::SUB) in combineSetCCMOVMSK()
46766 bool IsAnyOf = CmpOpcode == X86ISD::CMP && CmpVal.isZero(); in combineSetCCMOVMSK()
46767 bool IsAllOf = (CmpOpcode == X86ISD::SUB || CmpOpcode == X86ISD::CMP) && in combineSetCCMOVMSK()
/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp1080 const unsigned CmpOpcode = CmpInstr->getOpcode(); in canInstrSubstituteCmpInstr() local
1081 if (!isADDSRegImm(CmpOpcode) && !isSUBSRegImm(CmpOpcode)) in canInstrSubstituteCmpInstr()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp1700 const unsigned CmpOpcode = CmpInstr.getOpcode(); in canInstrSubstituteCmpInstr() local
1701 if (!isADDSRegImm(CmpOpcode) && !isSUBSRegImm(CmpOpcode)) in canInstrSubstituteCmpInstr()
1778 const unsigned CmpOpcode = CmpInstr.getOpcode(); in canCmpInstrBeRemoved() local
1779 bool IsSubsRegImm = isSUBSRegImm(CmpOpcode); in canCmpInstrBeRemoved()
1782 if (!CmpValue && !IsSubsRegImm && !isADDSRegImm(CmpOpcode)) in canCmpInstrBeRemoved()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp2134 unsigned CmpOpcode = in X86FastEmitSSESelect() local
2139 unsigned CmpReg = fastEmitInst_rri(CmpOpcode, FR32, CmpLHSReg, CmpLHSIsKill, in X86FastEmitSSESelect()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp1402 const unsigned CmpOpcode = CmpInstr->getOpcode(); in canInstrSubstituteCmpInstr() local
1403 if (!isADDSRegImm(CmpOpcode) && !isSUBSRegImm(CmpOpcode)) in canInstrSubstituteCmpInstr()
/external/swiftshader/third_party/subzero/src/
DIceAssemblerARM32.cpp1510 constexpr IValueT CmpOpcode = B3 | B1; // ie. 1010 in cmp() local
1511 emitCompareOp(Cond, CmpOpcode, OpRn, OpSrc1, CmpName); in cmp()