Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiTargetTransformInfo.h52 int getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost() function
70 return getIntImmCost(Imm, Ty); in getIntImmCostInst()
75 return getIntImmCost(Imm, Ty); in getIntImmCostIntrin()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVTargetTransformInfo.cpp18 int RISCVTTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost() function in RISCVTTIImpl
81 return getIntImmCost(Imm, Ty); in getIntImmCostInst()
DRISCVTargetTransformInfo.h44 int getIntImmCost(const APInt &Imm, Type *Ty);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.h73 using BaseT::getIntImmCost;
74 int getIntImmCost(int64_t Val);
75 int getIntImmCost(const APInt &Imm, Type *Ty);
DAArch64TargetTransformInfo.cpp45 int AArch64TTIImpl::getIntImmCost(int64_t Val) { in getIntImmCost() function in AArch64TTIImpl
60 int AArch64TTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost() function in AArch64TTIImpl
78 Cost += getIntImmCost(Val); in getIntImmCost()
142 int Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCostInst()
147 return AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCostInst()
164 return AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCostIntrin()
177 int Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCostIntrin()
193 return AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCostIntrin()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.h46 using BaseT::getIntImmCost;
47 int getIntImmCost(const APInt &Imm, Type *Ty);
DPPCTargetTransformInfo.cpp58 int PPCTTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost() function in PPCTTIImpl
60 return BaseT::getIntImmCost(Imm, Ty); in getIntImmCost()
118 return PPCTTIImpl::getIntImmCost(Imm, Ty); in getIntImmCostIntrin()
202 return PPCTTIImpl::getIntImmCost(Imm, Ty); in getIntImmCostInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.h176 int getIntImmCost(int64_t);
178 int getIntImmCost(const APInt &Imm, Type *Ty);
DX86TargetTransformInfo.cpp2992 int X86TTIImpl::getIntImmCost(int64_t Val) { in getIntImmCost() function in X86TTIImpl
3002 int X86TTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost() function in X86TTIImpl
3030 Cost += getIntImmCost(Val); in getIntImmCost()
3124 int Cost = X86TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCostInst()
3130 return X86TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCostInst()
3165 return X86TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCostIntrin()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMTargetTransformInfo.h115 using BaseT::getIntImmCost;
116 int getIntImmCost(const APInt &Imm, Type *Ty);
DARMTargetTransformInfo.cpp70 int ARMTTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost() function in ARMTTIImpl
128 return std::min(getIntImmCost(Imm, Ty), getIntImmCost(~Imm, Ty)); in getIntImmCostInst()
133 return std::min(getIntImmCost(Imm, Ty), getIntImmCost(-Imm, Ty)); in getIntImmCostInst()
150 return getIntImmCost(Imm, Ty); in getIntImmCostInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.h41 int getIntImmCost(const APInt &Imm, Type *Ty);
DSystemZTargetTransformInfo.cpp33 int SystemZTTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost() function in SystemZTTIImpl
180 return SystemZTTIImpl::getIntImmCost(Imm, Ty); in getIntImmCostInst()
229 return SystemZTTIImpl::getIntImmCost(Imm, Ty); in getIntImmCostIntrin()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfo.h752 int getIntImmCost(const APInt &Imm, Type *Ty) const;
1280 virtual int getIntImmCost(const APInt &Imm, Type *Ty) = 0;
1638 int getIntImmCost(const APInt &Imm, Type *Ty) override { in getIntImmCost() function
1639 return Impl.getIntImmCost(Imm, Ty); in getIntImmCost()
DTargetTransformInfoImpl.h360 unsigned getIntImmCost(const APInt &Imm, Type *Ty) { return TTI::TCC_Basic; } in getIntImmCost() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSpeculateAroundPHIs.cpp235 MatCost = TTI.getIntImmCost(IncomingC->getValue(), IncomingC->getType()); in isSafeAndProfitableToSpeculateAroundPHI()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTargetTransformInfo.cpp461 int TargetTransformInfo::getIntImmCost(const APInt &Imm, Type *Ty) const { in getIntImmCost() function in TargetTransformInfo
462 int Cost = TTIImpl->getIntImmCost(Imm, Ty); in getIntImmCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp6962 if (TTI->getIntImmCost(GEPIIdx->getValue(), GEPIIdx->getType()) in tryUnmergingGEPsAcrossIndirectBr()
7011 if (TTI->getIntImmCost(UGEPIIdx->getValue(), UGEPIIdx->getType()) in tryUnmergingGEPsAcrossIndirectBr()
7022 unsigned ImmCost = TTI->getIntImmCost(NewIdx, GEPIIdx->getType()); in tryUnmergingGEPsAcrossIndirectBr()