Lines Matching refs:CharUnits
82 CharUnits::fromQuantity(Offset.getSExtValue())), in createConstGEP2_32()
98 llvm::ConstantInt *getSize(CharUnits N) { in getSize()
128 CharUnits Align,
143 CharUnits Align,
159 return CreateAlignedLoad(getInt1Ty(), Addr, CharUnits::One(), Name);
164 return CreateAlignedStore(getInt1(Value), Addr, CharUnits::One()); in CreateFlagStore()
223 auto Offset = CharUnits::fromQuantity(Layout->getElementOffset(Index));
244 CharUnits EltSize =
245 CharUnits::fromQuantity(DL.getTypeAllocSize(ElTy->getElementType()));
249 {getSize(CharUnits::Zero()), getSize(Index)}, Name),
264 CharUnits EltSize = CharUnits::fromQuantity(DL.getTypeAllocSize(ElTy));
281 CharUnits EltSize = CharUnits::fromQuantity(DL.getTypeAllocSize(ElTy));
294 CharUnits EltSize =
295 CharUnits::fromQuantity(DL.getTypeAllocSize(Addr.getElementType()));
304 Address CreateConstInBoundsByteGEP(Address Addr, CharUnits Offset,
314 Address CreateConstByteGEP(Address Addr, CharUnits Offset,
336 llvm::Type *ElementType, CharUnits Align,
345 llvm::Type *ElementType, CharUnits Align,
417 auto Offset = CharUnits::fromQuantity(Layout->getElementOffset(Index)); in CreatePreserveStructAccessIndex()