/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 446 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/ |
D | BasicTTIImpl.h | 47 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/ |
D | SystemZTargetTransformInfo.cpp | 399 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/ |
D | HexagonTargetTransformInfo.cpp | 117 unsigned HexagonTTIImpl::getScalarizationOverhead(Type *Ty, bool Insert, in getScalarizationOverhead() function in HexagonTTIImpl 119 return BaseT::getScalarizationOverhead(Ty, Insert, Extract); in getScalarizationOverhead()
|
D | HexagonTargetTransformInfo.h | 102 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract);
|
/external/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.h | 38 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract);
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.h | 39 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract);
|
/external/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.h | 36 int getScalarizationOverhead(Type *Ty, bool Insert, bool Extract);
|
D | X86TargetTransformInfo.cpp | 1071 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/ |
D | TargetTransformInfo.h | 566 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()
|
D | TargetTransformInfoImpl.h | 296 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) { in getScalarizationOverhead() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/CostModel/SystemZ/ |
D | intrinsic-cost-crash.ll | 4 ; Don't call getScalarizationOverhead(RetTy, true, false) if RetTy is void type.
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 244 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/ |
D | LoopVectorize.cpp | 3100 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/ |
D | X86TargetTransformInfo.cpp | 1928 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/ |
D | LoopVectorize.cpp | 3251 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()
|