Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h373 llvm::Optional<unsigned> getCacheSize(TargetTransformInfo::CacheLevel Level) { in getCacheSize()
375 case TargetTransformInfo::CacheLevel::L1D: in getCacheSize()
377 case TargetTransformInfo::CacheLevel::L2D: in getCacheSize()
385 TargetTransformInfo::CacheLevel Level) { in getCacheAssociativity()
387 case TargetTransformInfo::CacheLevel::L1D: in getCacheAssociativity()
389 case TargetTransformInfo::CacheLevel::L2D: in getCacheAssociativity()
H A DTargetTransformInfo.h717 enum class CacheLevel { enum
727 llvm::Optional<unsigned> getCacheSize(CacheLevel Level) const;
730 llvm::Optional<unsigned> getCacheAssociativity(CacheLevel Level) const;
1124 virtual llvm::Optional<unsigned> getCacheSize(CacheLevel Level) = 0;
1125 virtual llvm::Optional<unsigned> getCacheAssociativity(CacheLevel Level) = 0;
1439 llvm::Optional<unsigned> getCacheSize(CacheLevel Level) override { in getCacheSize()
1442 llvm::Optional<unsigned> getCacheAssociativity(CacheLevel Level) override { in getCacheAssociativity()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h53 TargetTransformInfo::CacheLevel Level) const;
55 TargetTransformInfo::CacheLevel Level) const;
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()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp365 llvm::Optional<unsigned> TargetTransformInfo::getCacheSize(CacheLevel Level) in getCacheSize()
371 CacheLevel Level) const { in getCacheAssociativity()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGBuiltin.cpp6805 Value *CacheLevel = EmitScalarExpr(E->getArg(2)); in EmitAArch64BuiltinExpr() local
6813 -cast<llvm::ConstantInt>(CacheLevel)->getValue() + 3); in EmitAArch64BuiltinExpr()