Lines Matching +full:num +full:- +full:addresses
1 //===-- NVPTXAsmPrinter.h - NVPTX LLVM assembly writer ----------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // of machine-dependent LLVM code to NVPTX assembly language.
12 //===----------------------------------------------------------------------===//
68 // However, if either element/field of the aggregate is a non-NULL address,
69 // and all such addresses are properly aligned, then the aggregate is
70 // emitted as u32[] or u64[]. In the case of unaligned addresses, the
75 // symbol addresses. For the i-th symbol address in the aggregate, its
76 // corresponding 4-byte or 8-byte elements in 'buffer' are filled with 0s.
77 // symbolPosInBuffer[i-1] records its position in 'buffer', and Symbols[i-1]
82 // number of symbol addresses
97 // Symbols[i] == SymbolsBeforeStripping[i]->stripPointerCasts().
114 // Copy Num bytes from Ptr.
115 // if Bytes > Num, zero fill up to Bytes.
116 unsigned addBytes(unsigned char *Ptr, int Num, int Bytes) {
117 assert((curpos + Num) <= size);
119 for (int i = 0; i < Num; ++i) {
123 for (int i = Num; i < Bytes; ++i) {
130 unsigned addZeros(int Num) {
131 assert((curpos + Num) <= size);
132 for (int i = 0; i < Num; ++i) {
266 // Make emitGlobalVariable() no-op for NVPTX.