Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Transforms/Vectorize/
DVectorCombine.cpp653 unsigned CmpOpcode = CmpInst::isFPPredicate(Pred) ? Instruction::FCmp in foldExtractedCmps() local
661 OldCost += TTI.getCmpSelInstrCost(CmpOpcode, I0->getType()) * 2; in foldExtractedCmps()
670 int NewCost = TTI.getCmpSelInstrCost(CmpOpcode, X->getType()); in foldExtractedCmps()
/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/llvm-project/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h1929 unsigned CmpOpcode; in getMinMaxReductionCost() local
1931 CmpOpcode = Instruction::FCmp; in getMinMaxReductionCost()
1935 CmpOpcode = Instruction::ICmp; in getMinMaxReductionCost()
1954 thisT()->getCmpSelInstrCost(CmpOpcode, SubTy, CondTy, in getMinMaxReductionCost()
1979 (thisT()->getCmpSelInstrCost(CmpOpcode, Ty, CondTy, 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/llvm-project/llvm/lib/Target/PowerPC/
DPPCISelLowering.h838 unsigned CmpOpcode = 0,
844 unsigned CmpOpcode = 0,
DPPCISelLowering.cpp11213 unsigned CmpOpcode, in EmitAtomicBinary() argument
11255 CmpOpcode ? F->CreateMachineBasicBlock(LLVM_BB) : nullptr; in EmitAtomicBinary()
11258 if (CmpOpcode) in EmitAtomicBinary()
11297 if (CmpOpcode) { in EmitAtomicBinary()
11299 if (CmpOpcode == PPC::CMPW && AtomicSize < 4) { in EmitAtomicBinary()
11303 BuildMI(BB, dl, TII->get(CmpOpcode), PPC::CR0) in EmitAtomicBinary()
11306 BuildMI(BB, dl, TII->get(CmpOpcode), PPC::CR0) in EmitAtomicBinary()
11331 unsigned BinOpcode, unsigned CmpOpcode, unsigned CmpPred) const { in EmitPartwordAtomicBinary() argument
11334 return EmitAtomicBinary(MI, BB, is8bit ? 1 : 2, BinOpcode, CmpOpcode, in EmitPartwordAtomicBinary()
11359 CmpOpcode ? F->CreateMachineBasicBlock(LLVM_BB) : nullptr; in EmitPartwordAtomicBinary()
[all …]
/external/llvm-project/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-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/llvm-project/llvm/lib/Target/X86/
DX86FastISel.cpp2224 unsigned CmpOpcode = in X86FastEmitSSESelect() local
2226 Register CmpReg = fastEmitInst_rri(CmpOpcode, VK1, CmpLHSReg, CmpLHSIsKill, in X86FastEmitSSESelect()
2255 unsigned CmpOpcode = in X86FastEmitSSESelect() local
2260 Register CmpReg = fastEmitInst_rri(CmpOpcode, RC, CmpLHSReg, CmpLHSIsKill, in X86FastEmitSSESelect()
DX86TargetTransformInfo.cpp3684 unsigned CmpOpcode; in getMinMaxCost() local
3686 CmpOpcode = Instruction::FCmp; in getMinMaxCost()
3690 CmpOpcode = Instruction::ICmp; in getMinMaxCost()
3695 return getCmpSelInstrCost(CmpOpcode, Ty, CondTy, CmpInst::BAD_ICMP_PREDICATE, in getMinMaxCost()
DX86ISelLowering.cpp41529 unsigned CmpOpcode = EFLAGS.getOpcode(); in combineSetCCMOVMSK() local
41530 if (CmpOpcode != X86ISD::CMP && CmpOpcode != X86ISD::SUB) in combineSetCCMOVMSK()
41556 bool IsAnyOf = CmpOpcode == X86ISD::CMP && CmpVal.isNullValue(); in combineSetCCMOVMSK()
41557 bool IsAllOf = CmpOpcode == X86ISD::SUB && NumElts <= CmpBits && in combineSetCCMOVMSK()
/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/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp1080 const unsigned CmpOpcode = CmpInstr->getOpcode(); in canInstrSubstituteCmpInstr() local
1081 if (!isADDSRegImm(CmpOpcode) && !isSUBSRegImm(CmpOpcode)) in canInstrSubstituteCmpInstr()
/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.cpp1512 constexpr IValueT CmpOpcode = B3 | B1; // ie. 1010 in cmp() local
1513 emitCompareOp(Cond, CmpOpcode, OpRn, OpSrc1, CmpName); in cmp()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp1524 const unsigned CmpOpcode = CmpInstr->getOpcode(); in canInstrSubstituteCmpInstr() local
1525 if (!isADDSRegImm(CmpOpcode) && !isSUBSRegImm(CmpOpcode)) in canInstrSubstituteCmpInstr()