Home
last modified time | relevance | path

Searched refs:ControlledNopLength (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCFragment.h374 int64_t ControlledNopLength; variable
383 MCNopsFragment(int64_t NumBytes, int64_t ControlledNopLength, SMLoc L,
386 ControlledNopLength(ControlledNopLength), Loc(L), STI(STI) {} in MCFragment()
389 int64_t getControlledNopLength() const { return ControlledNopLength; } in getControlledNopLength()
H A DMCObjectStreamer.h202 void emitNops(int64_t NumBytes, int64_t ControlledNopLength, SMLoc Loc,
H A DMCStreamer.h832 virtual void emitNops(int64_t NumBytes, int64_t ControlledNopLength,
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCAssembler.cpp631 int64_t ControlledNopLength = NF.getControlledNopLength(); in writeFragment() local
636 assert(ControlledNopLength >= 0 && "Expected non-negative NOP size"); in writeFragment()
638 if (ControlledNopLength > MaximumNopLength) { in writeFragment()
641 std::to_string(ControlledNopLength) + in writeFragment()
646 ControlledNopLength = MaximumNopLength; in writeFragment()
650 if (!ControlledNopLength) in writeFragment()
651 ControlledNopLength = MaximumNopLength; in writeFragment()
655 (uint64_t)std::min(NumBytes, ControlledNopLength); in writeFragment()
H A DMCObjectStreamer.cpp887 void MCObjectStreamer::emitNops(int64_t NumBytes, int64_t ControlledNopLength, in emitNops() argument
895 insert(new MCNopsFragment(NumBytes, ControlledNopLength, Loc, STI)); in emitNops()