Home
last modified time | relevance | path

Searched refs:RoundUp (Results 1 – 8 of 8) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Target/M68k/Disassembler/
H A DM68kDisassembler.cpp123 unsigned RoundUp = alignTo(InstrBits, Align(16)); in getInstruction() local
124 if (RoundUp > Insn.getBitWidth()) in getInstruction()
125 Insn = Insn.zext(RoundUp); in getInstruction()
126 RoundUp = RoundUp >> 3; in getInstruction()
127 for (; Idx < RoundUp; Idx += 2) { in getInstruction()
/openbsd-src/gnu/llvm/compiler-rt/lib/profile/
H A DInstrProfilingPlatformLinux.c92 static size_t RoundUp(size_t size, size_t align) { in RoundUp() function
136 (const uint8_t *)(NoteName + RoundUp(Note->n_namesz, 4)); in WriteBinaryIdForNote()
163 size_t NoteOffset = sizeof(ElfW(Nhdr)) + RoundUp(Note->n_namesz, 4) + in WriteBinaryIds()
164 RoundUp(Note->n_descsz, 4); in WriteBinaryIds()
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_sync.cpp123 uptr diff = RoundUp(p, kPageSize) - p; in ResetRange()
136 CHECK_EQ(p, RoundUp(p, kPageSize)); in ResetRange()
137 CHECK_EQ(sz, RoundUp(sz, kPageSize)); in ResetRange()
H A Dtsan_rtl_access.cpp499 uptr size1 = Min<uptr>(size, RoundUp(addr + 1, kShadowCell) - addr); in UnalignedMemoryAccess()
570 Min(end, reinterpret_cast<RawShadow*>(RoundUp( in MemoryRangeSet()
585 uptr size1 = RoundUp(size + addr - addr1, kShadowCell); in MemoryResetRange()
600 size = RoundUp(size, kShadowCell); in MemoryRangeFreed()
635 size = RoundUp(size, kShadowCell); in MemoryRangeImitateWrite()
713 uptr size1 = Min(size, RoundUp(addr, kShadowCell) - addr); in MemoryAccessRangeT()
H A Dtsan_defs.h133 T RoundUp(T p, u64 align) { in RoundUp() function
H A Dtsan_mman.cpp39 uptr diff = RoundUp(p, kPageSize) - p; in OnUnmap()
/openbsd-src/gnu/usr.bin/binutils/gas/
H A Dwrite.c1255 #define RoundUp(N,S) (((N)+(S)-1)&-(S)) in relax_and_size_all_segments() macro
1261 slide = RoundUp (slide, 1 << section_alignment[SEG_DATA]); in relax_and_size_all_segments()
1283 bss_vma = RoundUp (bss_vma, 1 << section_alignment[SEG_BSS]); in relax_and_size_all_segments()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DAPInt.cpp2841 auto RoundUp = [] (const APInt &V, const APInt &A) -> APInt { in SolveQuadraticEquationWrap() local
2868 LowkR = RoundUp(LowkR, R); in SolveQuadraticEquationWrap()
2878 C -= -RoundUp(-C, R); // C = C - RoundDown(C, R) in SolveQuadraticEquationWrap()