Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/
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()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.h65 using BaseT::getIntImmCost;
66 int getIntImmCost(int64_t Val);
67 int getIntImmCost(const APInt &Imm, Type *Ty);
68 int getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, Type *Ty);
69 int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
DAArch64TargetTransformInfo.cpp26 int AArch64TTIImpl::getIntImmCost(int64_t Val) { in getIntImmCost() function in AArch64TTIImpl
40 int AArch64TTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost() function in AArch64TTIImpl
58 Cost += getIntImmCost(Val); in getIntImmCost()
64 int AArch64TTIImpl::getIntImmCost(unsigned Opcode, unsigned Idx, in getIntImmCost() function in AArch64TTIImpl
122 int Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost()
127 return AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost()
130 int AArch64TTIImpl::getIntImmCost(Intrinsic::ID IID, unsigned Idx, in getIntImmCost() function in AArch64TTIImpl
151 int Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost()
167 return AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
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,
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()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp45 int PPCTTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost() function in PPCTTIImpl
47 return BaseT::getIntImmCost(Imm, Ty); in getIntImmCost()
74 int PPCTTIImpl::getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm, in getIntImmCost() function in PPCTTIImpl
77 return BaseT::getIntImmCost(IID, Idx, Imm, Ty); in getIntImmCost()
105 return PPCTTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost()
108 int PPCTTIImpl::getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, in getIntImmCost() function in PPCTTIImpl
111 return BaseT::getIntImmCost(Opcode, Idx, Imm, Ty); in getIntImmCost()
188 return PPCTTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost()
DPPCTargetTransformInfo.h54 using BaseT::getIntImmCost;
55 int getIntImmCost(const APInt &Imm, Type *Ty);
57 int getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, Type *Ty);
58 int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
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,
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()
/external/llvm/lib/Target/SystemZ/
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()
DSystemZTargetTransformInfo.h45 int getIntImmCost(const APInt &Imm, Type *Ty);
47 int getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, Type *Ty);
48 int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.h90 int getIntImmCost(int64_t);
92 int getIntImmCost(const APInt &Imm, Type *Ty);
94 int getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, Type *Ty);
95 int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.h112 int getIntImmCost(int64_t);
114 int getIntImmCost(const APInt &Imm, Type *Ty);
118 int getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, Type *Ty);
119 int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h408 int getIntImmCost(const APInt &Imm, Type *Ty) const;
413 int getIntImmCost(unsigned Opc, unsigned Idx, const APInt &Imm,
415 int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
680 virtual int getIntImmCost(const APInt &Imm, Type *Ty) = 0;
681 virtual int getIntImmCost(unsigned Opc, unsigned Idx, const APInt &Imm,
683 virtual int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
860 int getIntImmCost(const APInt &Imm, Type *Ty) override { in getIntImmCost() function
861 return Impl.getIntImmCost(Imm, Ty); in getIntImmCost()
863 int getIntImmCost(unsigned Opc, unsigned Idx, const APInt &Imm, in getIntImmCost() function
865 return Impl.getIntImmCost(Opc, Idx, Imm, Ty); in getIntImmCost()
[all …]
DTargetTransformInfoImpl.h265 unsigned getIntImmCost(const APInt &Imm, Type *Ty) { return TTI::TCC_Basic; } in getIntImmCost() function
267 unsigned getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, in getIntImmCost() function
272 unsigned getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm, in getIntImmCost() function
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.h70 using BaseT::getIntImmCost;
71 int getIntImmCost(const APInt &Imm, Type *Ty);
73 int getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, Type *Ty);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.h40 int getIntImmCost(const APInt &Imm, Type *Ty);
42 int getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, Type *Ty);
43 int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
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()
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp220 int TargetTransformInfo::getIntImmCost(const APInt &Imm, Type *Ty) const { in getIntImmCost() function in TargetTransformInfo
221 int Cost = TTIImpl->getIntImmCost(Imm, Ty); in getIntImmCost()
226 int TargetTransformInfo::getIntImmCost(unsigned Opcode, unsigned Idx, in getIntImmCost() function in TargetTransformInfo
228 int Cost = TTIImpl->getIntImmCost(Opcode, Idx, Imm, Ty); in getIntImmCost()
233 int TargetTransformInfo::getIntImmCost(Intrinsic::ID IID, unsigned Idx, in getIntImmCost() function in TargetTransformInfo
235 int Cost = TTIImpl->getIntImmCost(IID, Idx, Imm, Ty); in getIntImmCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
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);
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()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetTransformInfo.h623 int getIntImmCost(const APInt &Imm, Type *Ty) const;
628 int getIntImmCost(unsigned Opc, unsigned Idx, const APInt &Imm,
630 int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
1083 virtual int getIntImmCost(const APInt &Imm, Type *Ty) = 0;
1084 virtual int getIntImmCost(unsigned Opc, unsigned Idx, const APInt &Imm,
1086 virtual int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
1369 int getIntImmCost(const APInt &Imm, Type *Ty) override { in getIntImmCost() function
1370 return Impl.getIntImmCost(Imm, Ty); in getIntImmCost()
1372 int getIntImmCost(unsigned Opc, unsigned Idx, const APInt &Imm, in getIntImmCost() function
1374 return Impl.getIntImmCost(Opc, Idx, Imm, Ty); in getIntImmCost()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DTargetTransformInfo.cpp311 int TargetTransformInfo::getIntImmCost(const APInt &Imm, Type *Ty) const { in getIntImmCost() function in TargetTransformInfo
312 int Cost = TTIImpl->getIntImmCost(Imm, Ty); in getIntImmCost()
317 int TargetTransformInfo::getIntImmCost(unsigned Opcode, unsigned Idx, in getIntImmCost() function in TargetTransformInfo
319 int Cost = TTIImpl->getIntImmCost(Opcode, Idx, Imm, Ty); in getIntImmCost()
324 int TargetTransformInfo::getIntImmCost(Intrinsic::ID IID, unsigned Idx, in getIntImmCost() function in TargetTransformInfo
326 int Cost = TTIImpl->getIntImmCost(IID, Idx, Imm, Ty); in getIntImmCost()
/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp186 Cost = TTI->getIntImmCost(IntrInst->getIntrinsicID(), Idx, in collectConstantCandidates()
189 Cost = TTI->getIntImmCost(Inst->getOpcode(), Idx, ConstInt->getValue(), in collectConstantCandidates()
357 Cost += TTI->getIntImmCost(Opcode, OpndIdx, Value, Ty); in maximizeConstantsInRange()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
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()

12