Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h415 getCacheSize(TargetTransformInfo::CacheLevel Level) const { in getCacheSize()
417 case TargetTransformInfo::CacheLevel::L1D: in getCacheSize()
419 case TargetTransformInfo::CacheLevel::L2D: in getCacheSize()
426 getCacheAssociativity(TargetTransformInfo::CacheLevel Level) const { in getCacheAssociativity()
428 case TargetTransformInfo::CacheLevel::L1D: in getCacheAssociativity()
430 case TargetTransformInfo::CacheLevel::L2D: in getCacheAssociativity()
H A DTargetTransformInfo.h939 enum class CacheLevel { enum
949 Optional<unsigned> getCacheSize(CacheLevel Level) const;
952 Optional<unsigned> getCacheAssociativity(CacheLevel Level) const;
1573 virtual Optional<unsigned> getCacheSize(CacheLevel Level) const = 0;
1574 virtual Optional<unsigned> getCacheAssociativity(CacheLevel Level) const = 0;
2034 Optional<unsigned> getCacheSize(CacheLevel Level) const override { in getCacheSize()
2037 Optional<unsigned> getCacheAssociativity(CacheLevel Level) const override { in getCacheAssociativity()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h110 TargetTransformInfo::CacheLevel Level) const override;
112 TargetTransformInfo::CacheLevel Level) const override;
H A DX86TargetTransformInfo.cpp69 TargetTransformInfo::CacheLevel Level) const { in getCacheSize()
71 case TargetTransformInfo::CacheLevel::L1D: in getCacheSize()
82 case TargetTransformInfo::CacheLevel::L2D: in getCacheSize()
99 TargetTransformInfo::CacheLevel Level) const { in getCacheAssociativity()
110 case TargetTransformInfo::CacheLevel::L1D: in getCacheAssociativity()
112 case TargetTransformInfo::CacheLevel::L2D: in getCacheAssociativity()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp622 TargetTransformInfo::getCacheSize(CacheLevel Level) const { in getCacheSize()
627 TargetTransformInfo::getCacheAssociativity(CacheLevel Level) const { in getCacheAssociativity()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h606 getCacheSize(TargetTransformInfo::CacheLevel Level) const { in getCacheSize()
612 getCacheAssociativity(TargetTransformInfo::CacheLevel Level) const { in getCacheAssociativity()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp9269 Value *CacheLevel = EmitScalarExpr(E->getArg(2)); in EmitAArch64BuiltinExpr() local
9277 -cast<llvm::ConstantInt>(CacheLevel)->getValue() + 3); in EmitAArch64BuiltinExpr()