Lines Matching refs:CharUnits
61 llvm::ConstantInt *getSize(CharUnits N) { in getSize()
91 llvm::LoadInst *CreateAlignedLoad(llvm::Value *Addr, CharUnits Align,
95 llvm::LoadInst *CreateAlignedLoad(llvm::Value *Addr, CharUnits Align, in CreateAlignedLoad()
100 CharUnits Align,
105 llvm::LoadInst *CreateAlignedLoad(llvm::Value *Addr, CharUnits Align,
121 CharUnits Align, bool IsVolatile = false) {
150 return CreateAlignedLoad(getInt1Ty(), Addr, CharUnits::One(), Name);
156 return CreateAlignedStore(getInt1(Value), Addr, CharUnits::One()); in CreateFlagStore()
183 Address CreateStructGEP(Address Addr, unsigned Index, CharUnits Offset,
192 auto Offset = CharUnits::fromQuantity(Layout->getElementOffset(Index));
206 Address CreateConstArrayGEP(Address Addr, uint64_t Index, CharUnits EltSize,
209 {getSize(CharUnits::Zero()),
223 CharUnits EltSize,
237 Address CreateConstGEP(Address Addr, uint64_t Index, CharUnits EltSize,
245 Address CreateConstInBoundsByteGEP(Address Addr, CharUnits Offset,
251 Address CreateConstByteGEP(Address Addr, CharUnits Offset,
258 llvm::Value *CreateConstInBoundsByteGEP(llvm::Value *Ptr, CharUnits Offset,
263 llvm::Value *CreateConstByteGEP(llvm::Value *Ptr, CharUnits Offset,