Lines Matching refs:get

120   auto *Zero = ConstantInt::get(getSizeTTy(M), 0u);
128 auto *Data = ConstantDataArray::get(C, Buf);
150 auto *Begin = ConstantInt::get(getSizeTTy(M), Entry->ImageOffset);
152 ConstantInt::get(getSizeTTy(M), Entry->ImageOffset + Entry->ImageSize);
161 ImagesInits.push_back(ConstantStruct::get(getDeviceImageTy(M), ImageB,
166 auto *ImagesData = ConstantArray::get(
167 ArrayType::get(getDeviceImageTy(M), ImagesInits.size()), ImagesInits);
179 auto *DescInit = ConstantStruct::get(
181 ConstantInt::get(Type::getInt32Ty(C), ImagesInits.size()), ImagesB,
192 auto *FuncTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg*/ false);
199 auto *UnRegFuncTy = FunctionType::get(Type::getVoidTy(C), getBinDescPtrTy(M),
215 auto *FuncTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg*/ false);
221 auto *RegFuncTy = FunctionType::get(Type::getVoidTy(C), getBinDescPtrTy(M),
226 auto *AtExitTy = FunctionType::get(
276 auto *Data = ConstantDataArray::get(C, Image);
287 ConstantInt::get(Type::getInt32Ty(C), IsHIP ? HIPFatMagic : CudaFatMagic),
288 ConstantInt::get(Type::getInt32Ty(C), 1),
290 ConstantPointerNull::get(PointerType::getUnqual(C))};
293 ConstantStruct::get(getFatbinWrapperTy(M), FatbinWrapper);
336 PointerType *Int8PtrTy = PointerType::get(C, 0);
337 PointerType *Int8PtrPtrTy = PointerType::get(C, 0);
338 PointerType *Int32PtrTy = PointerType::get(C, 0);
339 auto *RegFuncTy = FunctionType::get(
348 auto *RegVarTy = FunctionType::get(
358 FunctionType::get(Type::getVoidTy(C),
366 FunctionType *RegTextureTy = FunctionType::get(
374 auto *RegGlobalsTy = FunctionType::get(Type::getVoidTy(C), Int8PtrPtrTy,
399 {ConstantInt::get(getSizeTTy(M), 0),
400 ConstantInt::get(Type::getInt32Ty(C), 0)});
404 {ConstantInt::get(getSizeTTy(M), 0),
405 ConstantInt::get(Type::getInt32Ty(C), 1)});
409 {ConstantInt::get(getSizeTTy(M), 0),
410 ConstantInt::get(Type::getInt32Ty(C), 2)});
414 {ConstantInt::get(getSizeTTy(M), 0),
415 ConstantInt::get(Type::getInt32Ty(C), 3)});
419 {ConstantInt::get(getSizeTTy(M), 0),
420 ConstantInt::get(Type::getInt32Ty(C), 4)});
423 Flags, ConstantInt::get(Type::getInt32Ty(C), 0x7), "type");
427 Flags, ConstantInt::get(Type::getInt32Ty(C),
430 ExternBit, ConstantInt::get(Type::getInt32Ty(C), 3), "extern");
432 Flags, ConstantInt::get(Type::getInt32Ty(C),
435 ConstantBit, ConstantInt::get(Type::getInt32Ty(C), 4), "constant");
437 Flags, ConstantInt::get(Type::getInt32Ty(C),
440 NormalizedBit, ConstantInt::get(Type::getInt32Ty(C), 5), "normalized");
448 ConstantInt::get(Type::getInt32Ty(C), -1),
449 ConstantPointerNull::get(Int8PtrTy),
450 ConstantPointerNull::get(Int8PtrTy),
451 ConstantPointerNull::get(Int8PtrTy),
452 ConstantPointerNull::get(Int8PtrTy),
453 ConstantPointerNull::get(Int32PtrTy)});
462 Const, ConstantInt::get(Type::getInt32Ty(C), 0)});
492 offloading::getEntryTy(M), Entry, ConstantInt::get(getSizeTTy(M), 1));
496 ArrayType::get(offloading::getEntryTy(M), 0), EntriesE,
497 ArrayRef<Constant *>({ConstantInt::get(getSizeTTy(M), 0),
498 ConstantInt::get(getSizeTTy(M), 0)})));
501 ArrayType::get(offloading::getEntryTy(M), 0), EntriesB,
502 ArrayRef<Constant *>({ConstantInt::get(getSizeTTy(M), 0),
503 ConstantInt::get(getSizeTTy(M), 0)})),
520 auto *CtorFuncTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg*/ false);
526 auto *DtorFuncTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg*/ false);
535 auto *RegFatTy = FunctionType::get(PtrTy, PtrTy, /*isVarArg=*/false);
540 FunctionType::get(Type::getVoidTy(C), PtrTy, /*isVarArg=*/false);
545 FunctionType::get(Type::getVoidTy(C), PtrTy, /*isVarArg=*/false);
551 FunctionType::get(Type::getInt32Ty(C), PtrTy, /*isVarArg=*/false);
556 llvm::ConstantPointerNull::get(PtrTy),