Home
last modified time | relevance | path

Searched refs:getIntImmCost (Results 1 – 17 of 17) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Target/Lanai/
H A DLanaiTargetTransformInfo.h53 int getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost() function
70 int getIntImmCost(unsigned Opc, unsigned Idx, const APInt &Imm, Type *Ty) { in getIntImmCost() function
71 return getIntImmCost(Imm, Ty); in getIntImmCost()
74 int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm, in getIntImmCost() function
76 return getIntImmCost(Imm, Ty); in getIntImmCost()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h74 using BaseT::getIntImmCost;
75 int getIntImmCost(int64_t Val);
76 int getIntImmCost(const APInt &Imm, Type *Ty);
77 int getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, Type *Ty);
78 int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
H A DAArch64TargetTransformInfo.cpp44 int AArch64TTIImpl::getIntImmCost(int64_t Val) { in getIntImmCost() function in AArch64TTIImpl
58 int AArch64TTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost() function in AArch64TTIImpl
76 Cost += getIntImmCost(Val); in getIntImmCost()
82 int AArch64TTIImpl::getIntImmCost(unsigned Opcode, unsigned Idx, in getIntImmCost() function in AArch64TTIImpl
140 int Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost()
145 return AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost()
148 int AArch64TTIImpl::getIntImmCost(Intrinsic::ID IID, unsigned Idx, in getIntImmCost() function in AArch64TTIImpl
169 int Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost()
185 return AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h47 using BaseT::getIntImmCost;
48 int getIntImmCost(const APInt &Imm, Type *Ty);
50 int getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, Type *Ty);
51 int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
H A DPPCTargetTransformInfo.cpp50 int PPCTTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost() function in PPCTTIImpl
52 return BaseT::getIntImmCost(Imm, Ty); in getIntImmCost()
79 int PPCTTIImpl::getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm, in getIntImmCost() function in PPCTTIImpl
82 return BaseT::getIntImmCost(IID, Idx, Imm, Ty); in getIntImmCost()
110 return PPCTTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost()
113 int PPCTTIImpl::getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, in getIntImmCost() function in PPCTTIImpl
116 return BaseT::getIntImmCost(Opcode, Idx, Imm, Ty); in getIntImmCost()
194 return PPCTTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h118 int getIntImmCost(int64_t);
120 int getIntImmCost(const APInt &Imm, Type *Ty);
124 int getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, Type *Ty);
125 int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
H A DX86TargetTransformInfo.cpp2524 int X86TTIImpl::getIntImmCost(int64_t Val) { in getIntImmCost() function in X86TTIImpl
2534 int X86TTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost() function in X86TTIImpl
2562 Cost += getIntImmCost(Val); in getIntImmCost()
2568 int X86TTIImpl::getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, in getIntImmCost() function in X86TTIImpl
2656 int Cost = X86TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost()
2662 return X86TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost()
2665 int X86TTIImpl::getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm, in getIntImmCost() function in X86TTIImpl
2697 return X86TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.h42 int getIntImmCost(const APInt &Imm, Type *Ty);
44 int getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, Type *Ty);
45 int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
H A DSystemZTargetTransformInfo.cpp34 int SystemZTTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost() function in SystemZTTIImpl
66 int SystemZTTIImpl::getIntImmCost(unsigned Opcode, unsigned Idx, in getIntImmCost() function in SystemZTTIImpl
181 return SystemZTTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost()
184 int SystemZTTIImpl::getIntImmCost(Intrinsic::ID IID, unsigned Idx, in getIntImmCost() function in SystemZTTIImpl
230 return SystemZTTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h110 using BaseT::getIntImmCost;
111 int getIntImmCost(const APInt &Imm, Type *Ty);
113 int getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, Type *Ty);
H A DARMTargetTransformInfo.cpp57 int ARMTTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost() function in ARMTTIImpl
99 int ARMTTIImpl::getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, in getIntImmCost() function in ARMTTIImpl
112 return std::min(getIntImmCost(Imm, Ty), getIntImmCost(~Imm, Ty)); in getIntImmCost()
116 return std::min(getIntImmCost(Imm, Ty), getIntImmCost(-Imm, Ty)); in getIntImmCost()
133 return getIntImmCost(Imm, Ty); in getIntImmCost()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h632 int getIntImmCost(const APInt &Imm, Type *Ty) const;
637 int getIntImmCost(unsigned Opc, unsigned Idx, const APInt &Imm,
639 int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
1111 virtual int getIntImmCost(const APInt &Imm, Type *Ty) = 0;
1112 virtual int getIntImmCost(unsigned Opc, unsigned Idx, const APInt &Imm,
1405 int getIntImmCost(const APInt &Imm, Type *Ty) override { in getIntImmCost() function
1406 return Impl.getIntImmCost(Imm, Ty); in getIntImmCost()
1408 int getIntImmCost(unsigned Opc, unsigned Idx, const APInt &Imm, in getIntImmCost() function
1410 return Impl.getIntImmCost(Opc, Idx, Imm, Ty); in getIntImmCost()
1412 int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm, in getIntImmCost() function
[all …]
H A DTargetTransformInfoImpl.h342 unsigned getIntImmCost(const APInt &Imm, Type *Ty) { return TTI::TCC_Basic; } in getIntImmCost() function
344 unsigned getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, in getIntImmCost() function
349 unsigned getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm, in getIntImmCost() function
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp315 int TargetTransformInfo::getIntImmCost(const APInt &Imm, Type *Ty) const { in getIntImmCost() function in TargetTransformInfo
316 int Cost = TTIImpl->getIntImmCost(Imm, Ty); in getIntImmCost()
321 int TargetTransformInfo::getIntImmCost(unsigned Opcode, unsigned Idx, in getIntImmCost() function in TargetTransformInfo
323 int Cost = TTIImpl->getIntImmCost(Opcode, Idx, Imm, Ty); in getIntImmCost()
328 int TargetTransformInfo::getIntImmCost(Intrinsic::ID IID, unsigned Idx, in getIntImmCost() function in TargetTransformInfo
330 int Cost = TTIImpl->getIntImmCost(IID, Idx, Imm, Ty); in getIntImmCost()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DSpeculateAroundPHIs.cpp228 MatCost = TTI.getIntImmCost(IncomingC->getValue(), IncomingC->getType()); in isSafeAndProfitableToSpeculateAroundPHI()
279 FoldedCost += TTI.getIntImmCost(IID, Idx, IncomingC->getValue(), in isSafeAndProfitableToSpeculateAroundPHI()
283 TTI.getIntImmCost(UserI->getOpcode(), Idx, IncomingC->getValue(), in isSafeAndProfitableToSpeculateAroundPHI()
H A DConstantHoisting.cpp361 Cost = TTI->getIntImmCost(IntrInst->getIntrinsicID(), Idx, in collectConstantCandidates()
364 Cost = TTI->getIntImmCost(Inst->getOpcode(), Idx, ConstInt->getValue(), in collectConstantCandidates()
415 int Cost = TTI->getIntImmCost(Instruction::Add, 1, Offset, PtrIntTy); in collectConstantCandidates()
573 Cost += TTI->getIntImmCost(Opcode, OpndIdx, Value, Ty); in maximizeConstantsInRange()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6569 if (TTI->getIntImmCost(GEPIIdx->getValue(), GEPIIdx->getType()) in tryUnmergingGEPsAcrossIndirectBr()
6618 if (TTI->getIntImmCost(UGEPIIdx->getValue(), UGEPIIdx->getType()) in tryUnmergingGEPsAcrossIndirectBr()
6629 unsigned ImmCost = TTI->getIntImmCost(NewIdx, GEPIIdx->getType()); in tryUnmergingGEPsAcrossIndirectBr()