Home
last modified time | relevance | path

Searched refs:getScalarizationOverhead (Results 1 – 16 of 16) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h446 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) { in getScalarizationOverhead() function
481 Cost += getScalarizationOverhead(VecTy, false, true); in getOperandsScalarizationOverhead()
488 unsigned getScalarizationOverhead(Type *VecTy, ArrayRef<const Value *> Args) { in getScalarizationOverhead() function
493 Cost += getScalarizationOverhead(VecTy, true, false); in getScalarizationOverhead()
500 Cost += getScalarizationOverhead(VecTy, false, true); in getScalarizationOverhead()
547 return getScalarizationOverhead(Ty, Args) + Num * Cost;
675 return getScalarizationOverhead(Dst, true, true) + Num * Cost;
684 return (Src->isVectorTy() ? getScalarizationOverhead(Src, false, true)
686 (Dst->isVectorTy() ? getScalarizationOverhead(Dst, true, false)
738 return getScalarizationOverhead(ValTy, true, false) + Num * Cost; in getCmpSelInstrCost()
[all …]
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h47 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) { in getScalarizationOverhead() function
337 return getScalarizationOverhead(Ty, true, true) + Num * Cost;
449 return getScalarizationOverhead(Dst, true, true) + Num * Cost; in getCastInstrCost()
458 return (Src->isVectorTy() ? getScalarizationOverhead(Src, false, true) in getCastInstrCost()
460 (Dst->isVectorTy() ? getScalarizationOverhead(Dst, true, false) in getCastInstrCost()
511 return getScalarizationOverhead(ValTy, true, false) + Num * Cost; in getCmpSelInstrCost()
548 Cost += getScalarizationOverhead(Src, Opcode != Instruction::Store, in getMemoryOpCost()
717 ScalarizationCost = getScalarizationOverhead(RetTy, true, false); in getIntrinsicInstrCost()
725 ScalarizationCost += getScalarizationOverhead(Ty, false, true); in getIntrinsicInstrCost()
873 unsigned ScalarizationCost = getScalarizationOverhead(RetTy, true, false); in getIntrinsicInstrCost()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp399 unsigned Cost = (VF * ScalarCost) + getScalarizationOverhead(Ty, Args); in getArithmeticInstrCost()
416 unsigned Cost = (VF * LIBCALL_COST) + getScalarizationOverhead(Ty, Args); in getArithmeticInstrCost()
675 TotCost += getScalarizationOverhead(Dst, NeedsInserts, NeedsExtracts); in getCastInstrCost()
686 return VF /*ldxbr/lexbr*/ + getScalarizationOverhead(Dst, true, false); in getCastInstrCost()
699 return VF + getScalarizationOverhead(Src, false, true); in getCastInstrCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp117 unsigned HexagonTTIImpl::getScalarizationOverhead(Type *Ty, bool Insert, in getScalarizationOverhead() function in HexagonTTIImpl
119 return BaseT::getScalarizationOverhead(Ty, Insert, Extract); in getScalarizationOverhead()
DHexagonTargetTransformInfo.h102 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract);
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.h38 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract);
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.h39 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract);
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.h36 int getScalarizationOverhead(Type *Ty, bool Insert, bool Extract);
DX86TargetTransformInfo.cpp1071 int X86TTIImpl::getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) { in getScalarizationOverhead() function in X86TTIImpl
1106 int SplitCost = getScalarizationOverhead(Src, Opcode == Instruction::Load, in getMemoryOpCost()
1143 int MaskSplitCost = getScalarizationOverhead(MaskTy, false, true); in getMaskedMemoryOpCost()
1149 int ValueSplitCost = getScalarizationOverhead( in getMaskedMemoryOpCost()
1512 MaskUnpackCost = getScalarizationOverhead(MaskTy, false, true); in getGSScalarCost()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetTransformInfo.h566 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) const;
1063 getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) = 0;
1322 unsigned getScalarizationOverhead(Type *Ty, bool Insert, in getScalarizationOverhead() function
1324 return Impl.getScalarizationOverhead(Ty, Insert, Extract); in getScalarizationOverhead()
DTargetTransformInfoImpl.h296 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) { in getScalarizationOverhead() function
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/CostModel/SystemZ/
Dintrinsic-cost-crash.ll4 ; Don't call getScalarizationOverhead(RetTy, true, false) if RetTy is void type.
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DTargetTransformInfo.cpp244 getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) const { in getScalarizationOverhead() function in TargetTransformInfo
245 return TTIImpl->getScalarizationOverhead(Ty, Insert, Extract); in getScalarizationOverhead()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp3100 static unsigned getScalarizationOverhead(Instruction *I, unsigned VF, in getScalarizationOverhead() function
3110 Cost += TTI.getScalarizationOverhead(RetTy, true, false); in getScalarizationOverhead()
3155 unsigned ScalarizationCost = getScalarizationOverhead(CI, VF, TTI); in getVectorCallCost()
5579 ScalarCost += TTI.getScalarizationOverhead(ToVectorTy(I->getType(), VF), in computePredInstDiscount()
5595 ScalarCost += TTI.getScalarizationOverhead( in computePredInstDiscount()
5713 Cost += getScalarizationOverhead(I, VF, TTI); in getMemInstScalarizationCost()
6019 return (TTI.getScalarizationOverhead(Vec_i1Ty, false, true) + in getInstructionCost()
6072 Cost += getScalarizationOverhead(I, VF, TTI); in getInstructionCost()
6222 getScalarizationOverhead(I, VF, TTI); in getInstructionCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp1928 int SplitCost = getScalarizationOverhead(Src, Opcode == Instruction::Load, in getMemoryOpCost()
1965 int MaskSplitCost = getScalarizationOverhead(MaskTy, false, true); in getMaskedMemoryOpCost()
1971 int ValueSplitCost = getScalarizationOverhead( in getMaskedMemoryOpCost()
2516 MaskUnpackCost = getScalarizationOverhead(MaskTy, false, true); in getGSScalarCost()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp3251 static unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract, in getScalarizationOverhead() function
3300 getScalarizationOverhead(RetTy, true, false, TTI); in getVectorCallCost()
3302 ScalarizationCost += getScalarizationOverhead(Ty, false, true, TTI); in getVectorCallCost()