Home
last modified time | relevance | path

Searched refs:MinNopLen (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/
H A DLoongArchAsmBackend.cpp192 const unsigned MinNopLen = 4; in shouldInsertExtraNopBytesForCodeAlign() local
193 if (AF.getMaxBytesToEmit() < MinNopLen) in shouldInsertExtraNopBytesForCodeAlign()
195 Size = AF.getAlignment().value() - MinNopLen; in shouldInsertExtraNopBytesForCodeAlign()
196 return AF.getAlignment() > MinNopLen; in shouldInsertExtraNopBytesForCodeAlign()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVAsmBackend.cpp668 unsigned MinNopLen = UseCompressedNop ? 2 : 4; in shouldInsertExtraNopBytesForCodeAlign() local
670 if (AF.getAlignment() <= MinNopLen) { in shouldInsertExtraNopBytesForCodeAlign()
673 Size = AF.getAlignment().value() - MinNopLen; in shouldInsertExtraNopBytesForCodeAlign()