Home
last modified time | relevance | path

Searched refs:CacheLevel (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h448 getCacheSize(TargetTransformInfo::CacheLevel Level) const { in getCacheSize()
450 case TargetTransformInfo::CacheLevel::L1D: in getCacheSize()
452 case TargetTransformInfo::CacheLevel::L2D: in getCacheSize()
459 getCacheAssociativity(TargetTransformInfo::CacheLevel Level) const { in getCacheAssociativity()
461 case TargetTransformInfo::CacheLevel::L1D: in getCacheAssociativity()
463 case TargetTransformInfo::CacheLevel::L2D: in getCacheAssociativity()
H A DTargetTransformInfo.h996 enum class CacheLevel { enum
1006 Optional<unsigned> getCacheSize(CacheLevel Level) const;
1009 Optional<unsigned> getCacheAssociativity(CacheLevel Level) const;
1685 virtual Optional<unsigned> getCacheSize(CacheLevel Level) const = 0;
1686 virtual Optional<unsigned> getCacheAssociativity(CacheLevel Level) const = 0;
2203 Optional<unsigned> getCacheSize(CacheLevel Level) const override { in getCacheSize()
2206 Optional<unsigned> getCacheAssociativity(CacheLevel Level) const override { in getCacheAssociativity()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h117 TargetTransformInfo::CacheLevel Level) const override;
119 TargetTransformInfo::CacheLevel Level) const override;
H A DX86TargetTransformInfo.cpp70 TargetTransformInfo::CacheLevel Level) const { in getCacheSize()
72 case TargetTransformInfo::CacheLevel::L1D: in getCacheSize()
83 case TargetTransformInfo::CacheLevel::L2D: in getCacheSize()
100 TargetTransformInfo::CacheLevel Level) const { in getCacheAssociativity()
111 case TargetTransformInfo::CacheLevel::L1D: in getCacheAssociativity()
113 case TargetTransformInfo::CacheLevel::L2D: in getCacheAssociativity()
/llvm-project-15.0.7/polly/lib/Transform/
H A DMatmulOptimizer.cpp567 auto L1DCache = llvm::TargetTransformInfo::CacheLevel::L1D; in getTargetCacheParameters()
568 auto L2DCache = llvm::TargetTransformInfo::CacheLevel::L2D; in getTargetCacheParameters()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp679 TargetTransformInfo::getCacheSize(CacheLevel Level) const { in getCacheSize()
684 TargetTransformInfo::getCacheAssociativity(CacheLevel Level) const { in getCacheAssociativity()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h646 getCacheSize(TargetTransformInfo::CacheLevel Level) const { in getCacheSize()
652 getCacheAssociativity(TargetTransformInfo::CacheLevel Level) const { in getCacheAssociativity()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBuiltin.cpp9455 Value *CacheLevel = EmitScalarExpr(E->getArg(2)); in EmitAArch64BuiltinExpr() local
9463 -cast<llvm::ConstantInt>(CacheLevel)->getValue() + 3); in EmitAArch64BuiltinExpr()