Home
last modified time | relevance | path

Searched refs:getVectorInstrCost (Results 1 – 25 of 28) sorted by relevance

12

/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600TargetTransformInfo.cpp110 InstructionCost R600TTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() function in R600TTIImpl
120 return BaseT::getVectorInstrCost(Opcode, ValTy, CostKind, Index, Op0, in getVectorInstrCost()
132 return BaseT::getVectorInstrCost(Opcode, ValTy, CostKind, Index, Op0, Op1); in getVectorInstrCost()
H A DR600TargetTransformInfo.h63 using BaseT::getVectorInstrCost;
64 InstructionCost getVectorInstrCost(unsigned Opcode, Type *ValTy,
H A DAMDGPUTargetTransformInfo.h168 using BaseT::getVectorInstrCost;
169 InstructionCost getVectorInstrCost(unsigned Opcode, Type *ValTy,
H A DAMDGPUTargetTransformInfo.cpp859 InstructionCost GCNTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in isInlineAsmSourceOfDivergence()
871 return BaseT::getVectorInstrCost(Opcode, ValTy, CostKind, Index, Op0, in isInlineAsmSourceOfDivergence()
883 return BaseT::getVectorInstrCost(Opcode, ValTy, CostKind, Index, Op0, Op1); in isReadRegisterSourceOfDivergence()
812 InstructionCost GCNTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, getVectorInstrCost() function in GCNTTIImpl
/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetTransformInfo.h67 using BaseT::getVectorInstrCost;
68 InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
H A DWebAssemblyTargetTransformInfo.cpp82 WebAssemblyTTIImpl::getVectorInstrCost(unsigned Opcode, Type *Val,
85 InstructionCost Cost = BasicTTIImplBase::getVectorInstrCost( in getVectorInstrCost()
84 WebAssemblyTTIImpl::getVectorInstrCost(unsigned Opcode, Type *Val, getVectorInstrCost() function in WebAssemblyTTIImpl
/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.h117 using BaseT::getVectorInstrCost;
118 InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
H A DSystemZTargetTransformInfo.cpp1167 InstructionCost SystemZTTIImpl::getVectorInstrCost(unsigned Opcode, Type *Val, in getMemoryOpCost()
1193 return BaseT::getVectorInstrCost(Opcode, Val, CostKind, Index, Op0, Op1); in getMemoryOpCost()
1047 InstructionCost SystemZTTIImpl::getVectorInstrCost(unsigned Opcode, Type *Val, getVectorInstrCost() function in SystemZTTIImpl
/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.h150 using BaseT::getVectorInstrCost;
151 InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
H A DHexagonTargetTransformInfo.cpp321 InstructionCost HexagonTTIImpl::getVectorInstrCost(unsigned Opcode, Type *Val, in getVectorInstrCost() function in HexagonTTIImpl
333 return Cost + getVectorInstrCost(Instruction::ExtractElement, Val, CostKind, in getVectorInstrCost()
/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h127 using BaseT::getVectorInstrCost;
128 InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
H A DPPCTargetTransformInfo.cpp673 InstructionCost PPCTTIImpl::getVectorInstrCost(unsigned Opcode, Type *Val, in getCmpSelInstrCost()
687 BaseT::getVectorInstrCost(Opcode, Val, CostKind, Index, Op0, Op1); in getVectorInstrCost()
852 Cost += getVectorInstrCost(Instruction::ExtractElement, Src, CostKind, i, in getMemoryOpCost()
676 InstructionCost PPCTTIImpl::getVectorInstrCost(unsigned Opcode, Type *Val, getVectorInstrCost() function in PPCTTIImpl
/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h95 Cost += thisT()->getVectorInstrCost(Instruction::ExtractElement, VTy, in getBroadcastShuffleOverhead()
99 Cost += thisT()->getVectorInstrCost(Instruction::InsertElement, VTy, in getBroadcastShuffleOverhead()
118 Cost += thisT()->getVectorInstrCost(Instruction::InsertElement, VTy, in getPermuteShuffleOverhead()
120 Cost += thisT()->getVectorInstrCost(Instruction::ExtractElement, VTy, in getPermuteShuffleOverhead()
146 thisT()->getVectorInstrCost(Instruction::ExtractElement, VTy, in getExtractSubvectorOverhead()
148 Cost += thisT()->getVectorInstrCost(Instruction::InsertElement, SubVTy, in getExtractSubvectorOverhead()
173 Cost += thisT()->getVectorInstrCost(Instruction::ExtractElement, SubVTy, in getInsertSubvectorOverhead()
176 thisT()->getVectorInstrCost(Instruction::InsertElement, VTy, CostKind, in getInsertSubvectorOverhead()
828 Cost += thisT()->getVectorInstrCost(Instruction::InsertElement, Ty, in getOperandsScalarizationOverhead()
832 Cost += thisT()->getVectorInstrCost(Instructio in getOperandsScalarizationOverhead()
1279 InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val, getVectorInstrCost() function
1285 InstructionCost getVectorInstrCost(const Instruction &I, Type *Val, getVectorInstrCost() function
[all...]
/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp384 TTI.getVectorInstrCost(*Ext0, VecTy, CostKind, Index0); in getShuffleExtract()
386 TTI.getVectorInstrCost(*Ext1, VecTy, CostKind, Index1); in getShuffleExtract()
453 TTI.getVectorInstrCost(*Ext0, VecTy, CostKind, Ext0Index); in isExtractExtractCheap()
455 TTI.getVectorInstrCost(*Ext1, VecTy, CostKind, Ext1Index); in isExtractExtractCheap()
698 TTI.getVectorInstrCost(I, VecTy, CostKind, Index); in foldBitcastShuffle()
704 OldCost += TTI.getVectorInstrCost(*Extract, VecTy, CostKind, Index); in foldBitcastShuffle()
880 TTI.getVectorInstrCost(Instruction::InsertElement, VecTy, CostKind, 0) + in scalarizeVPIntrinsic()
1007 // TODO: Handle this once getVectorInstrCost can cost for load/stores. in scalarizeBinopOrCmp()
1038 InstructionCost InsertCost = TTI.getVectorInstrCost( in foldExtractedCmps()
1134 TTI.getVectorInstrCost(*Ext
[all...]
H A DSLPVectorizer.cpp5845 InstructionCost InsertFirstCost = TTI->getVectorInstrCost( in buildExternalUses()
5848 InstructionCost InsertIdxCost = TTI->getVectorInstrCost( in buildExternalUses()
10171 return TTI.getVectorInstrCost(Instruction::InsertElement, VecTy, in getSpillCost()
10181 TTI.getVectorInstrCost(Instruction::InsertElement, VecTy, CostKind, 0, in getSpillCost()
10733 Cost -= TTI.getVectorInstrCost(*EE, EE->getVectorOperandType(), in getTreeCost()
11318 return TTI->getVectorInstrCost(Instruction::ExtractElement, SrcVecTy, in getGatherCost()
12616 TTI->getVectorInstrCost(Instruction::ExtractElement, VecTy, CostKind, in processBuildVector()
13677 TTI->getVectorInstrCost(Instruction::InsertElement, VecTy, CostKind, in vectorizeTree()
/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h165 using BaseT::getVectorInstrCost;
166 InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.h211 using BaseT::getVectorInstrCost;
212 InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
H A DRISCVTargetTransformInfo.cpp2055 InstructionCost RISCVTTIImpl::getVectorInstrCost(unsigned Opcode, Type *Val,
2063 return BaseT::getVectorInstrCost(Opcode, Val, CostKind, Index, Op0, Op1);
2104 = getVectorInstrCost(Opcode, WideTy, CostKind, Index, nullptr, nullptr);
2111 = getVectorInstrCost(Opcode, WideTy, CostKind, Index, nullptr, nullptr);
1529 InstructionCost RISCVTTIImpl::getVectorInstrCost(unsigned Opcode, Type *Val, getVectorInstrCost() function in RISCVTTIImpl
/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h64 // A helper function called by 'getVectorInstrCost'.
66 // 'Val' and 'Index' are forwarded from 'getVectorInstrCost'; 'HasRealUse'
195 InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
203 InstructionCost getVectorInstrCost(
208 InstructionCost getVectorInstrCost(const Instruction &I, Type *Val,
H A DAArch64TargetTransformInfo.cpp3220 InstructionCost Cost = getVectorInstrCost(Instruction::ExtractElement, VecTy, in getCmpSelInstrCost()
3439 InstructionCost AArch64TTIImpl::getVectorInstrCost(unsigned Opcode, Type *Val, in getMemoryOpCost()
3448 InstructionCost AArch64TTIImpl::getVectorInstrCost( in getMemoryOpCost()
3456 InstructionCost AArch64TTIImpl::getVectorInstrCost(const Instruction &I, in getMemoryOpCost()
3623 getVectorInstrCost(Instruction::ExtractElement, Ty, CostKind, -1, in getUnrollingPreferences()
3626 getVectorInstrCost(Instruction::InsertElement, Ty, CostKind, -1, in getUnrollingPreferences()
2987 InstructionCost AArch64TTIImpl::getVectorInstrCost(unsigned Opcode, Type *Val, getVectorInstrCost() function in AArch64TTIImpl
2996 InstructionCost AArch64TTIImpl::getVectorInstrCost(const Instruction &I, getVectorInstrCost() function in AArch64TTIImpl
/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h249 using BaseT::getVectorInstrCost;
250 InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
H A DARMTargetTransformInfo.cpp901 InstructionCost ARMTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost()
923 BaseT::getVectorInstrCost(Opcode, ValTy, CostKind, Index, Op0, Op1), in getCmpSelInstrCost()
937 return BaseT::getVectorInstrCost(Opcode, ValTy, CostKind, Index, Op0, Op1); in getCmpSelInstrCost()
882 InstructionCost ARMTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, getVectorInstrCost() function in ARMTTIImpl
/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1447 InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
1461 InstructionCost getVectorInstrCost(
1472 InstructionCost getVectorInstrCost(const Instruction &I, Type *Val,
2190 virtual InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val, in getPointersChainCost()
2199 virtual InstructionCost getVectorInstrCost( in adjustInliningThreshold()
2204 virtual InstructionCost getVectorInstrCost(const Instruction &I, Type *Val, in getInliningCostBenefitAnalysisSavingsMultiplier()
2912 InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
2916 return Impl.getVectorInstrCost(Opcode, Val, CostKind, Index, Op0, Op1);
2918 InstructionCost getVectorInstrCost( in hasActiveVectorLength()
2922 return Impl.getVectorInstrCost(Opcod
2698 InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val, getVectorInstrCost() function
2704 InstructionCost getVectorInstrCost(const Instruction &I, Type *Val, getVectorInstrCost() function
[all...]
H A DTargetTransformInfoImpl.h718 InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
729 InstructionCost getVectorInstrCost( in getIntrinsicInstrCost()
736 InstructionCost getVectorInstrCost(const Instruction &I, Type *Val, in getIntrinsicInstrCost()
1437 return TargetTTI->getVectorInstrCost(*IE, Ty, CostKind, Idx); in getInstructionCost()
1557 return TargetTTI->getVectorInstrCost(*EEI, DstTy, CostKind, Idx);
663 InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val, getVectorInstrCost() function
670 InstructionCost getVectorInstrCost(const Instruction &I, Type *Val, getVectorInstrCost() function
/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp1079 InstructionCost TargetTransformInfo::getVectorInstrCost( in getGatherScatterOpCost()
1086 TTIImpl->getVectorInstrCost(Opcode, Val, CostKind, Index, Op0, Op1); in getStridedMemoryOpCost()
1091 InstructionCost TargetTransformInfo::getVectorInstrCost( in getStridedMemoryOpCost()
1098 InstructionCost Cost = TTIImpl->getVectorInstrCost( in getInterleavedMemoryOpCost()
1105 TargetTransformInfo::getVectorInstrCost(const Instruction &I, Type *Val,
1111 InstructionCost Cost = TTIImpl->getVectorInstrCost(I, Val, CostKind, Index); in getIntrinsicInstrCost()
1022 InstructionCost TargetTransformInfo::getVectorInstrCost( getVectorInstrCost() function in TargetTransformInfo
1035 TargetTransformInfo::getVectorInstrCost(const Instruction &I, Type *Val, getVectorInstrCost() function in TargetTransformInfo

12