Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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.h970 enum class CacheLevel { enum
980 Optional<unsigned> getCacheSize(CacheLevel Level) const;
983 Optional<unsigned> getCacheAssociativity(CacheLevel Level) const;
1584 virtual Optional<unsigned> getCacheSize(CacheLevel Level) const = 0;
1585 virtual Optional<unsigned> getCacheAssociativity(CacheLevel Level) const = 0;
2045 Optional<unsigned> getCacheSize(CacheLevel Level) const override { in getCacheSize()
2048 Optional<unsigned> getCacheAssociativity(CacheLevel Level) const override { in getCacheAssociativity()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h109 TargetTransformInfo::CacheLevel Level) const override;
111 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp625 TargetTransformInfo::getCacheSize(CacheLevel Level) const { in getCacheSize()
630 TargetTransformInfo::getCacheAssociativity(CacheLevel Level) const { in getCacheAssociativity()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h606 getCacheSize(TargetTransformInfo::CacheLevel Level) const { in getCacheSize()
612 getCacheAssociativity(TargetTransformInfo::CacheLevel Level) const { in getCacheAssociativity()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGBuiltin.cpp9189 Value *CacheLevel = EmitScalarExpr(E->getArg(2)); in EmitAArch64BuiltinExpr() local
9197 -cast<llvm::ConstantInt>(CacheLevel)->getValue() + 3); in EmitAArch64BuiltinExpr()