/external/llvm-project/llvm/lib/Transforms/Vectorize/ |
D | VectorCombine.cpp | 653 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/ |
D | BasicTTIImpl.h | 1663 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/ |
D | BasicTTIImpl.h | 1929 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/ |
D | PPCISelLowering.h | 782 unsigned CmpOpcode = 0, 788 unsigned CmpOpcode = 0,
|
D | PPCISelLowering.cpp | 10621 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/ |
D | PPCISelLowering.h | 838 unsigned CmpOpcode = 0, 844 unsigned CmpOpcode = 0,
|
D | PPCISelLowering.cpp | 11213 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/ |
D | ARMInstructionSelector.cpp | 459 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/ |
D | ARMInstructionSelector.cpp | 461 CmpConstants(unsigned CmpOpcode, unsigned FlagsOpcode, unsigned SelectOpcode, in CmpConstants() 463 : ComparisonOpcode(CmpOpcode), ReadFlagsOpcode(FlagsOpcode), in CmpConstants()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86FastISel.cpp | 2224 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()
|
D | X86TargetTransformInfo.cpp | 3684 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()
|
D | X86ISelLowering.cpp | 41529 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/ |
D | X86FastISel.cpp | 2208 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/ |
D | AArch64InstrInfo.cpp | 1080 const unsigned CmpOpcode = CmpInstr->getOpcode(); in canInstrSubstituteCmpInstr() local 1081 if (!isADDSRegImm(CmpOpcode) && !isSUBSRegImm(CmpOpcode)) in canInstrSubstituteCmpInstr()
|
/external/llvm/lib/Target/X86/ |
D | X86FastISel.cpp | 2134 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/ |
D | AArch64InstrInfo.cpp | 1402 const unsigned CmpOpcode = CmpInstr->getOpcode(); in canInstrSubstituteCmpInstr() local 1403 if (!isADDSRegImm(CmpOpcode) && !isSUBSRegImm(CmpOpcode)) in canInstrSubstituteCmpInstr()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceAssemblerARM32.cpp | 1512 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/ |
D | AArch64InstrInfo.cpp | 1524 const unsigned CmpOpcode = CmpInstr->getOpcode(); in canInstrSubstituteCmpInstr() local 1525 if (!isADDSRegImm(CmpOpcode) && !isSUBSRegImm(CmpOpcode)) in canInstrSubstituteCmpInstr()
|