Lines Matching refs:offset
137 llvm::Constant *offset = llvm::ConstantExpr::getSub(target, base);
141 offset = llvm::ConstantExpr::getTrunc(offset, offsetType);
144 return offset;
183 // Bring the offset up to the last field.
184 CharUnits offset = getNextOffsetFromGlobal();
189 // Advance the offset past that field.
192 offset = offset.alignTo(CharUnits::fromQuantity(
194 offset += CharUnits::fromQuantity(layout.getTypeStoreSize(type));
197 CachedOffsetFromGlobal = offset;
213 CharUnits offset;
218 offset = Parent->getOffsetFromGlobalTo(Begin);
220 offset = CachedOffsetFromGlobal;
229 "cannot compute offset when a placeholder is present");
232 offset = offset.alignTo(CharUnits::fromQuantity(
234 offset += CharUnits::fromQuantity(layout.getTypeStoreSize(elementType));
240 CachedOffsetFromGlobal = offset;
241 return offset;