reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Analysis/TargetTransformInfo.h
  933   int getMemoryOpCost(unsigned Opcode, Type *Src, MaybeAlign Alignment,

References

lib/Analysis/TargetTransformInfo.cpp
 1203     return getMemoryOpCost(I->getOpcode(), ValTy,
 1209     return getMemoryOpCost(I->getOpcode(), I->getType(),
lib/Transforms/Vectorize/LoopVectorize.cpp
 5748   Cost += VF * TTI.getMemoryOpCost(I->getOpcode(), ValTy->getScalarType(),
 5786     Cost += TTI.getMemoryOpCost(I->getOpcode(), VectorTy, Alignment, AS, I);
 5802            TTI.getMemoryOpCost(Instruction::Load, ValTy, Alignment, AS) +
 5809          TTI.getMemoryOpCost(Instruction::Store, ValTy, Alignment, AS) +
 5877            TTI.getMemoryOpCost(I->getOpcode(), ValTy, Alignment, AS, I);
lib/Transforms/Vectorize/SLPVectorizer.cpp
 3167           TTI->getMemoryOpCost(Instruction::Load, ScalarTy, alignment, 0, VL0);
 3173           TTI->getMemoryOpCost(Instruction::Load, VecTy, alignment, 0, VL0);
 3185           TTI->getMemoryOpCost(Instruction::Store, ScalarTy, alignment, 0, VL0);
 3191           TTI->getMemoryOpCost(Instruction::Store, VecTy, alignment, 0, VL0);