Home
last modified time | relevance | path

Searched refs:getMemoryOpCost (Results 1 – 24 of 24) sorted by relevance

/src/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp164 InstructionCost HexagonTTIImpl::getMemoryOpCost(unsigned Opcode, Type *Src, in getMemoryOpCost() function in HexagonTTIImpl
176 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, in getMemoryOpCost()
217 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, CostKind, in getMemoryOpCost()
254 return getMemoryOpCost(Opcode, VecTy, MaybeAlign(Alignment), AddressSpace, in getInterleavedMemoryOpCost()
H A DHexagonTargetTransformInfo.h114 getMemoryOpCost(unsigned Opcode, Type *Src, MaybeAlign Alignment,
/src/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp342 return 2 + getMemoryOpCost(Instruction::Load, Ty, DL.getABITypeAlign(Ty), in getConstantPoolLoadCost()
619 return getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, CostKind); in getMaskedMemoryOpCost()
652 InstructionCost LegalMemCost = getMemoryOpCost( in getInterleavedMemoryOpCost()
666 getMemoryOpCost(Opcode, VecTy, Alignment, AddressSpace, CostKind); in getInterleavedMemoryOpCost()
732 getMemoryOpCost(Opcode, VTy.getElementType(), Alignment, 0, CostKind, in getGatherScatterOpCost()
755 getMemoryOpCost(Opcode, VTy.getElementType(), Alignment, 0, CostKind, in getStridedMemoryOpCost()
1378 InstructionCost RISCVTTIImpl::getMemoryOpCost(unsigned Opcode, Type *Src, in getMemoryOpCost() function in RISCVTTIImpl
1387 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, in getMemoryOpCost()
1394 BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, in getMemoryOpCost()
1577 getMemoryOpCost(Instruction::Load, ElemTy, Align, 0, CostKind); in getVectorInstrCost()
[all …]
H A DRISCVTargetTransformInfo.h191 getMemoryOpCost(unsigned Opcode, Type *Src, MaybeAlign Alignment,
/src/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp766 InstructionCost PPCTTIImpl::getMemoryOpCost(unsigned Opcode, Type *Src, in getMemoryOpCost() function in PPCTTIImpl
778 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, in getMemoryOpCost()
786 BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, CostKind); in getMemoryOpCost()
876 InstructionCost Cost = getMemoryOpCost(Opcode, VecTy, MaybeAlign(Alignment), in getInterleavedMemoryOpCost()
H A DPPCTargetTransformInfo.h132 getMemoryOpCost(unsigned Opcode, Type *Src, MaybeAlign Alignment,
/src/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.h118 getMemoryOpCost(unsigned Opcode, Type *Src, MaybeAlign Alignment,
H A DSystemZTargetTransformInfo.cpp308 NumStores += getMemoryOpCost(Instruction::Store, MemAccessTy, in getUnrollingPreferences()
1158 InstructionCost SystemZTTIImpl::getMemoryOpCost(unsigned Opcode, Type *Src, in getMemoryOpCost() function in SystemZTTIImpl
1200 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, in getMemoryOpCost()
/src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h684 InstructionCost getMemoryOpCost(unsigned Opcode, Type *Src, Align Alignment, in getMemoryOpCost() function
1285 return TargetTTI->getMemoryOpCost(Opcode, ValTy, SI->getAlign(), in getInstructionCost()
1307 return TargetTTI->getMemoryOpCost(Opcode, LoadType, LI->getAlign(), in getInstructionCost()
H A DTargetTransformInfo.h1419 getMemoryOpCost(unsigned Opcode, Type *Src, Align Alignment,
2077 getMemoryOpCost(unsigned Opcode, Type *Src, Align Alignment,
2741 InstructionCost getMemoryOpCost(unsigned Opcode, Type *Src, Align Alignment, in getMemoryOpCost() function
2746 return Impl.getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, CostKind, in getMemoryOpCost()
/src/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h177 getMemoryOpCost(unsigned Opcode, Type *Src, MaybeAlign Alignment,
H A DX86TargetTransformInfo.cpp4505 return getMemoryOpCost(Instruction::Store, Val, VecAlign, 0, CostKind) + in getVectorInstrCost()
4506 getMemoryOpCost(Instruction::Load, ScalarType, SclAlign, 0, in getVectorInstrCost()
4511 return getMemoryOpCost(Instruction::Store, Val, VecAlign, 0, CostKind) + in getVectorInstrCost()
4512 getMemoryOpCost(Instruction::Store, ScalarType, SclAlign, 0, in getVectorInstrCost()
4514 getMemoryOpCost(Instruction::Load, Val, VecAlign, 0, CostKind); in getVectorInstrCost()
4892 InstructionCost X86TTIImpl::getMemoryOpCost(unsigned Opcode, Type *Src, in getMemoryOpCost() function in X86TTIImpl
4915 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, in getMemoryOpCost()
4927 Cost += getMemoryOpCost(Instruction::Load, Src, DL.getABITypeAlign(Src), in getMemoryOpCost()
4957 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, in getMemoryOpCost()
4968 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, in getMemoryOpCost()
[all …]
/src/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h222 getMemoryOpCost(unsigned Opcode, Type *Src, MaybeAlign Alignment,
H A DAArch64TargetTransformInfo.cpp3398 getMemoryOpCost(Opcode, VT->getElementType(), Alignment, 0, CostKind, in getGatherScatterOpCost()
3411 InstructionCost AArch64TTIImpl::getMemoryOpCost(unsigned Opcode, Type *Ty, in getMemoryOpCost() function in AArch64TTIImpl
3420 return BaseT::getMemoryOpCost(Opcode, Ty, Alignment, AddressSpace, in getMemoryOpCost()
3552 Cost += getMemoryOpCost(Instruction::Store, I, Align(128), 0, CostKind) + in getCostOfKeepingLiveOverCall()
3553 getMemoryOpCost(Instruction::Load, I, Align(128), 0, CostKind); in getCostOfKeepingLiveOverCall()
/src/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h263 getMemoryOpCost(unsigned Opcode, Type *Src, MaybeAlign Alignment,
H A DARMTargetTransformInfo.cpp1471 InstructionCost ARMTTIImpl::getMemoryOpCost(unsigned Opcode, Type *Src, in getMemoryOpCost() function in ARMTTIImpl
1483 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, in getMemoryOpCost()
1514 return BaseCost * BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, in getMemoryOpCost()
/src/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp246 TTI.getMemoryOpCost(Instruction::Load, LoadTy, Alignment, AS); in vectorizeLoadInsert()
255 TTI.getMemoryOpCost(Instruction::Load, MinVecTy, Alignment, AS); in vectorizeLoadInsert()
328 TTI.getMemoryOpCost(Instruction::Load, LoadTy, Alignment, AS); in widenSubvectorLoad()
332 TTI.getMemoryOpCost(Instruction::Load, Ty, Alignment, AS); in widenSubvectorLoad()
1316 TTI.getMemoryOpCost(Instruction::Load, VecTy, LI->getAlign(), in scalarizeLoadExtract()
1365 TTI.getMemoryOpCost(Instruction::Load, VecTy->getElementType(), in scalarizeLoadExtract()
H A DLoopVectorize.cpp5589 Cost += VF.getKnownMinValue() * TTI.getMemoryOpCost(I->getOpcode(), in getMemInstScalarizationCost()
5639 Cost += TTI.getMemoryOpCost(I->getOpcode(), VectorTy, Alignment, AS, in getConsecutiveMemOpCost()
5662 TTI.getMemoryOpCost(Instruction::Load, ValTy, Alignment, AS, in getUniformMemOpCost()
5670 TTI.getMemoryOpCost(Instruction::Store, ValTy, Alignment, AS, in getUniformMemOpCost()
5925 TTI.getMemoryOpCost(I->getOpcode(), ValTy, Alignment, AS, in getMemoryInstructionCost()
H A DSLPVectorizer.cpp4703 VecLdCost += TTI.getMemoryOpCost( in canVectorizeLoads()
8169 TTI->getMemoryOpCost(Instruction::Load, VecTy, BaseLI->getAlign(), in transformNodes()
8196 TTI->getMemoryOpCost(Instruction::Store, VecTy, BaseSI->getAlign(), in transformNodes()
8350 TTI.getMemoryOpCost(Instruction::Load, LI->getType(), in getBuildVectorCost()
8360 ? TTI.getMemoryOpCost(Instruction::Load, LoadTy, Alignment, in getBuildVectorCost()
9775 return TTI->getMemoryOpCost(Instruction::Load, OrigScalarTy, in getEntryCost()
9783 VecLdCost = TTI->getMemoryOpCost( in getEntryCost()
9820 return TTI->getMemoryOpCost(Instruction::Store, OrigScalarTy, in getEntryCost()
9839 VecStCost = TTI->getMemoryOpCost( in getEntryCost()
/src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h236 VF * thisT()->getMemoryOpCost(Opcode, VT->getElementType(), Alignment,
1332 getMemoryOpCost(unsigned Opcode, Type *Src, MaybeAlign Alignment,
1428 Cost = thisT()->getMemoryOpCost(Opcode, VecTy, Alignment, AddressSpace,
1834 return thisT()->getMemoryOpCost(*FOp, ICA.getReturnType(), Alignment, in getIntrinsicInstrCost()
1846 return thisT()->getMemoryOpCost(*FOp, Args[0]->getType(), Alignment, in getIntrinsicInstrCost()
/src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp1234 ArgStackCost += const_cast<GCNTTIImpl *>(TTIImpl)->getMemoryOpCost( in adjustInliningThresholdUsingCallee()
1237 ArgStackCost += const_cast<GCNTTIImpl *>(TTIImpl)->getMemoryOpCost( in adjustInliningThresholdUsingCallee()
/src/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp1059 InstructionCost TargetTransformInfo::getMemoryOpCost( in getMemoryOpCost() function in TargetTransformInfo
1065 InstructionCost Cost = TTIImpl->getMemoryOpCost( in getMemoryOpCost()
/src/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp2538 TTI.getMemoryOpCost(Instruction::Load, V->getType(), Align(1), 0, in findCostOutputReloads()
2591 TTI.getMemoryOpCost(Instruction::Load, V->getType(), Align(1), 0, in findCostForOutputBlocks()
/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp1413 return TTI.getMemoryOpCost(Instruction::Load, VecTy, Align(1), 0) - in lowerDotProduct()
1414 N * TTI.getMemoryOpCost(Instruction::Load, EltTy, Align(1), 0); in lowerDotProduct()