Lines Matching refs:get

45 ///   Function::Create(TypeBuilder<types::i<8>(MyType*), true>::get(), ...)
47 /// complain that TypeBuilder<MyType, true>::get() doesn't exist. To fix this,
53 /// static StructType *get(LLVMContext &Context) {
56 /// return StructType::get(
57 /// TypeBuilder<types::i<32>, xcompile>::get(Context),
58 /// TypeBuilder<types::i<32>*, xcompile>::get(Context),
59 /// TypeBuilder<types::i<8>*[], xcompile>::get(Context),
106 static PointerType *get(LLVMContext &Context) {
107 return PointerType::getUnqual(TypeBuilder<T,cross>::get(Context));
117 static ArrayType *get(LLVMContext &Context) {
118 return ArrayType::get(TypeBuilder<T, cross>::get(Context), N);
124 static ArrayType *get(LLVMContext &Context) {
125 return ArrayType::get(TypeBuilder<T, cross>::get(Context), 0);
143 // addition to the defined-size types because we'd get duplicate definitions on
154 static IntegerType *get(LLVMContext &Context) { \
155 return IntegerType::get(Context, sizeof(T) * CHAR_BIT); \
183 static IntegerType *get(LLVMContext &C) {
184 return IntegerType::get(C, num_bits);
190 static Type *get(LLVMContext& C) {
198 static Type *get(LLVMContext& C) {
206 static Type *get(LLVMContext& C) { return Type::getFloatTy(C); }
210 static Type *get(LLVMContext& C) { return Type::getDoubleTy(C); }
214 static Type *get(LLVMContext& C) { return Type::getX86_FP80Ty(C); }
218 static Type *get(LLVMContext& C) { return Type::getFP128Ty(C); }
222 static Type *get(LLVMContext& C) { return Type::getPPC_FP128Ty(C); }
226 static Type *get(LLVMContext& C) { return Type::getX86_MMXTy(C); }
231 static Type *get(LLVMContext &C) {
249 static FunctionType *get(LLVMContext &Context) {
250 return FunctionType::get(TypeBuilder<R, cross>::get(Context), false);
255 static FunctionType *get(LLVMContext &Context) {
257 TypeBuilder<A1, cross>::get(Context),
259 return FunctionType::get(TypeBuilder<R, cross>::get(Context),
266 static FunctionType *get(LLVMContext &Context) {
268 TypeBuilder<A1, cross>::get(Context),
269 TypeBuilder<A2, cross>::get(Context),
271 return FunctionType::get(TypeBuilder<R, cross>::get(Context),
278 static FunctionType *get(LLVMContext &Context) {
280 TypeBuilder<A1, cross>::get(Context),
281 TypeBuilder<A2, cross>::get(Context),
282 TypeBuilder<A3, cross>::get(Context),
284 return FunctionType::get(TypeBuilder<R, cross>::get(Context),
293 static FunctionType *get(LLVMContext &Context) {
295 TypeBuilder<A1, cross>::get(Context),
296 TypeBuilder<A2, cross>::get(Context),
297 TypeBuilder<A3, cross>::get(Context),
298 TypeBuilder<A4, cross>::get(Context),
300 return FunctionType::get(TypeBuilder<R, cross>::get(Context),
309 static FunctionType *get(LLVMContext &Context) {
311 TypeBuilder<A1, cross>::get(Context),
312 TypeBuilder<A2, cross>::get(Context),
313 TypeBuilder<A3, cross>::get(Context),
314 TypeBuilder<A4, cross>::get(Context),
315 TypeBuilder<A5, cross>::get(Context),
317 return FunctionType::get(TypeBuilder<R, cross>::get(Context),
324 static FunctionType *get(LLVMContext &Context) {
325 return FunctionType::get(TypeBuilder<R, cross>::get(Context), true);
331 static FunctionType *get(LLVMContext &Context) {
333 TypeBuilder<A1, cross>::get(Context),
335 return FunctionType::get(TypeBuilder<R, cross>::get(Context), params, true);
341 static FunctionType *get(LLVMContext &Context) {
343 TypeBuilder<A1, cross>::get(Context),
344 TypeBuilder<A2, cross>::get(Context),
346 return FunctionType::get(TypeBuilder<R, cross>::get(Context),
353 static FunctionType *get(LLVMContext &Context) {
355 TypeBuilder<A1, cross>::get(Context),
356 TypeBuilder<A2, cross>::get(Context),
357 TypeBuilder<A3, cross>::get(Context),
359 return FunctionType::get(TypeBuilder<R, cross>::get(Context),
368 static FunctionType *get(LLVMContext &Context) {
370 TypeBuilder<A1, cross>::get(Context),
371 TypeBuilder<A2, cross>::get(Context),
372 TypeBuilder<A3, cross>::get(Context),
373 TypeBuilder<A4, cross>::get(Context),
375 return FunctionType::get(TypeBuilder<R, cross>::get(Context),
384 static FunctionType *get(LLVMContext &Context) {
386 TypeBuilder<A1, cross>::get(Context),
387 TypeBuilder<A2, cross>::get(Context),
388 TypeBuilder<A3, cross>::get(Context),
389 TypeBuilder<A4, cross>::get(Context),
390 TypeBuilder<A5, cross>::get(Context),
392 return FunctionType::get(TypeBuilder<R, cross>::get(Context),