Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp160 InstructionCost HexagonTTIImpl::getMemoryOpCost(unsigned Opcode, Type *Src, in getMemoryOpCost() function in HexagonTTIImpl
171 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, in getMemoryOpCost()
212 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, in getMemoryOpCost()
247 return getMemoryOpCost(Opcode, VecTy, MaybeAlign(Alignment), AddressSpace, in getInterleavedMemoryOpCost()
H A DHexagonTargetTransformInfo.h119 InstructionCost getMemoryOpCost(unsigned Opcode, Type *Src,
/llvm-project-15.0.7/llvm/test/Analysis/CostModel/AArch64/
H A Dstore.ll7 define void @getMemoryOpCost() {
11 ; CHECK-LABEL: 'getMemoryOpCost'
32 ; SIZE-LABEL: 'getMemoryOpCost'
53 ; SLOW_MISALIGNED_128_STORE-LABEL: 'getMemoryOpCost'
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp219 return getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, CostKind); in getMaskedMemoryOpCost()
240 InstructionCost MemOpCost = getMemoryOpCost(Opcode, VTy.getElementType(), in getGatherScatterOpCost()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.h113 InstructionCost getMemoryOpCost(unsigned Opcode, Type *Src,
H A DSystemZTargetTransformInfo.cpp303 NumStores += getMemoryOpCost(Instruction::Store, MemAccessTy, None, 0, in getUnrollingPreferences()
1108 InstructionCost SystemZTTIImpl::getMemoryOpCost(unsigned Opcode, Type *Src, in getMemoryOpCost() function in SystemZTTIImpl
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h128 InstructionCost getMemoryOpCost(unsigned Opcode, Type *Src,
H A DPPCTargetTransformInfo.cpp1144 InstructionCost PPCTTIImpl::getMemoryOpCost(unsigned Opcode, Type *Src, in getMemoryOpCost() function in PPCTTIImpl
1155 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, in getMemoryOpCost()
1163 BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, CostKind); in getMemoryOpCost()
1251 InstructionCost Cost = getMemoryOpCost(Opcode, VecTy, MaybeAlign(Alignment), in getInterleavedMemoryOpCost()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h582 InstructionCost getMemoryOpCost(unsigned Opcode, Type *Src, Align Alignment, in getMemoryOpCost() function
1081 return TargetTTI->getMemoryOpCost(Opcode, ValTy, SI->getAlign(), in getUserCost()
1100 return TargetTTI->getMemoryOpCost(Opcode, LoadType, LI->getAlign(), in getUserCost()
H A DTargetTransformInfo.h1179 getMemoryOpCost(unsigned Opcode, Type *Src, Align Alignment,
1745 virtual InstructionCost getMemoryOpCost(unsigned Opcode, Type *Src,
2295 InstructionCost getMemoryOpCost(unsigned Opcode, Type *Src, Align Alignment, in getMemoryOpCost() function
2299 return Impl.getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, in getMemoryOpCost()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h210 InstructionCost getMemoryOpCost(unsigned Opcode, Type *Src,
H A DAArch64TargetTransformInfo.cpp2249 getMemoryOpCost(Opcode, VT->getElementType(), Alignment, 0, CostKind, I); in getGatherScatterOpCost()
2261 InstructionCost AArch64TTIImpl::getMemoryOpCost(unsigned Opcode, Type *Ty, in getMemoryOpCost() function in AArch64TTIImpl
2269 return BaseT::getMemoryOpCost(Opcode, Ty, Alignment, AddressSpace, in getMemoryOpCost()
2352 Cost += getMemoryOpCost(Instruction::Store, I, Align(128), 0, CostKind) + in getCostOfKeepingLiveOverCall()
2353 getMemoryOpCost(Instruction::Load, I, Align(128), 0, CostKind); in getCostOfKeepingLiveOverCall()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h158 InstructionCost getMemoryOpCost(unsigned Opcode, Type *Src,
H A DX86TargetTransformInfo.cpp3687 return getMemoryOpCost(Instruction::Store, Val, VecAlign, 0, in getVectorInstrCost()
3689 getMemoryOpCost(Instruction::Load, ScalarType, SclAlign, 0, in getVectorInstrCost()
3694 return getMemoryOpCost(Instruction::Store, Val, VecAlign, 0, in getVectorInstrCost()
3696 getMemoryOpCost(Instruction::Store, ScalarType, SclAlign, 0, in getVectorInstrCost()
3698 getMemoryOpCost(Instruction::Load, Val, VecAlign, 0, in getVectorInstrCost()
4041 InstructionCost X86TTIImpl::getMemoryOpCost(unsigned Opcode, Type *Src, in getMemoryOpCost() function in X86TTIImpl
4063 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, in getMemoryOpCost()
4099 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, in getMemoryOpCost()
4110 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, in getMemoryOpCost()
5151 VF * getMemoryOpCost(Opcode, ScalarTy, MaybeAlign(Alignment), in getGSScalarCost()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp215 TTI.getMemoryOpCost(Instruction::Load, LoadTy, Alignment, AS); in vectorizeLoadInsert()
222 TTI.getMemoryOpCost(Instruction::Load, MinVecTy, Alignment, AS); in vectorizeLoadInsert()
998 TTI.getMemoryOpCost(Instruction::Load, LI->getType(), LI->getAlign(), in scalarizeLoadExtract()
1041 TTI.getMemoryOpCost(Instruction::Load, FixedVT->getElementType(), in scalarizeLoadExtract()
H A DLoopVectorize.cpp6329 TTI.getMemoryOpCost(I->getOpcode(), ValTy->getScalarType(), Alignment, in getMemInstScalarizationCost()
6377 Cost += TTI.getMemoryOpCost(I->getOpcode(), VectorTy, Alignment, AS, in getConsecutiveMemOpCost()
6399 TTI.getMemoryOpCost(Instruction::Load, ValTy, Alignment, AS, in getUniformMemOpCost()
6407 TTI.getMemoryOpCost(Instruction::Store, ValTy, Alignment, AS, in getUniformMemOpCost()
6659 TTI.getMemoryOpCost(I->getOpcode(), ValTy, Alignment, AS, in getMemoryInstructionCost()
H A DSLPVectorizer.cpp6049 ScalarsCost += TTI->getMemoryOpCost( in getEntryCost()
6058 TTI->getMemoryOpCost(Instruction::Load, LoadTy, Alignment, in getEntryCost()
6452 InstructionCost ScalarEltCost = TTI->getMemoryOpCost( in getEntryCost()
6460 VecLdCost = TTI->getMemoryOpCost(Instruction::Load, VecTy, Alignment, 0, in getEntryCost()
6481 InstructionCost ScalarEltCost = TTI->getMemoryOpCost( in getEntryCost()
6484 InstructionCost VecStCost = TTI->getMemoryOpCost( in getEntryCost()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h255 InstructionCost getMemoryOpCost(unsigned Opcode, Type *Src,
H A DARMTargetTransformInfo.cpp1451 InstructionCost ARMTTIImpl::getMemoryOpCost(unsigned Opcode, Type *Src, in getMemoryOpCost() function in ARMTTIImpl
1462 return BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, in getMemoryOpCost()
1493 return BaseCost * BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, in getMemoryOpCost()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp882 InstructionCost TargetTransformInfo::getMemoryOpCost( in getMemoryOpCost() function in TargetTransformInfo
887 InstructionCost Cost = TTIImpl->getMemoryOpCost(Opcode, Src, Alignment, in getMemoryOpCost()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h218 getMemoryOpCost(Opcode, VT->getElementType(), Alignment, 0, CostKind)); in getCommonMaskedMemoryOpCost()
1190 InstructionCost getMemoryOpCost(unsigned Opcode, Type *Src,
1274 Cost = thisT()->getMemoryOpCost(Opcode, VecTy, Alignment, AddressSpace,
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp2520 TTI.getMemoryOpCost(Instruction::Load, V->getType(), Align(1), 0, in findCostOutputReloads()
2573 TTI.getMemoryOpCost(Instruction::Load, V->getType(), Align(1), 0, in findCostForOutputBlocks()