Lines Matching refs:get

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