diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/MC/MCSubtargetInfo.cpp')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/MC/MCSubtargetInfo.cpp | 25 | 
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/llvm-project/llvm/lib/MC/MCSubtargetInfo.cpp b/contrib/llvm-project/llvm/lib/MC/MCSubtargetInfo.cpp index 5fd48d9e1010..c8678df02bfd 100644 --- a/contrib/llvm-project/llvm/lib/MC/MCSubtargetInfo.cpp +++ b/contrib/llvm-project/llvm/lib/MC/MCSubtargetInfo.cpp @@ -315,3 +315,28 @@ void MCSubtargetInfo::initInstrItins(InstrItineraryData &InstrItins) const {    InstrItins = InstrItineraryData(getSchedModel(), Stages, OperandCycles,                                    ForwardingPaths);  } + +Optional<unsigned> MCSubtargetInfo::getCacheSize(unsigned Level) const { +  return Optional<unsigned>(); +} + +Optional<unsigned> +MCSubtargetInfo::getCacheAssociativity(unsigned Level) const { +  return Optional<unsigned>(); +} + +Optional<unsigned> MCSubtargetInfo::getCacheLineSize(unsigned Level) const { +  return Optional<unsigned>(); +} + +unsigned MCSubtargetInfo::getPrefetchDistance() const { +  return 0; +} + +unsigned MCSubtargetInfo::getMaxPrefetchIterationsAhead() const { +  return UINT_MAX; +} + +unsigned MCSubtargetInfo::getMinPrefetchStride() const { +  return 1; +}  | 
