Lines Matching full:cast
35 return cast<LLVM::LLVMPointerType>(unwrap(pointerType)).getAddressSpace();
47 return wrap(cast<LLVM::LLVMArrayType>(unwrap(type)).getElementType());
59 return llvm::cast<LLVM::LLVMFunctionType>(unwrap(type)).getNumParams();
64 return wrap(llvm::cast<LLVM::LLVMFunctionType>(unwrap(type))
73 return !cast<LLVM::LLVMStructType>(unwrap(type)).isIdentified();
77 return cast<LLVM::LLVMStructType>(unwrap(type)).getBody().size();
81 return wrap(cast<LLVM::LLVMStructType>(unwrap(type)).getBody()[position]);
85 return cast<LLVM::LLVMStructType>(unwrap(type)).isPacked();
89 return wrap(cast<LLVM::LLVMStructType>(unwrap(type)).getName());
93 return cast<LLVM::LLVMStructType>(unwrap(type)).isOpaque();
139 cast<LLVM::LLVMStructType>(unwrap(structType))
160 [](Attribute a) { return cast<DIExpressionElemAttr>(a); })));
173 unwrap(ctx), tag, cast<StringAttr>(unwrap(name)), sizeInBits, encoding));
178 DICompositeTypeAttr::getRecSelf(cast<DistinctAttr>(unwrap(recId))));
192 unwrap(ctx), cast<DistinctAttr>(unwrap(recId)), isRecSelf, tag,
193 cast<StringAttr>(unwrap(name)), cast<DIFileAttr>(unwrap(file)), line,
194 cast<DIScopeAttr>(unwrap(scope)), cast<DITypeAttr>(unwrap(baseType)),
197 [](Attribute a) { return cast<DINodeAttr>(a); }),
198 cast<DIExpressionAttr>(unwrap(dataLocation)),
199 cast<DIExpressionAttr>(unwrap(rank)),
200 cast<DIExpressionAttr>(unwrap(allocated)),
201 cast<DIExpressionAttr>(unwrap(associated))));
212 unwrap(ctx), tag, cast<StringAttr>(unwrap(name)),
213 cast<DITypeAttr>(unwrap(baseType)), sizeInBits, alignInBits, offsetInBits,
214 addressSpace, cast<DINodeAttr>(unwrap(extraData))));
223 unwrap(ctx), tag, cast<StringAttr>(unwrap(name)), sizeInBits, alignInBits,
224 cast<DIVariableAttr>(unwrap(stringLength)),
225 cast<DIExpressionAttr>(unwrap(stringLengthExp)),
226 cast<DIExpressionAttr>(unwrap(stringLocationExp)), encoding));
231 return wrap(cast<DIDerivedTypeAttr>(unwrap(diDerivedType)).getBaseType());
248 return wrap(DIFileAttr::get(unwrap(ctx), cast<StringAttr>(unwrap(name)),
249 cast<StringAttr>(unwrap(directory))));
259 unwrap(ctx), cast<DistinctAttr>(unwrap(id)), sourceLanguage,
260 cast<DIFileAttr>(unwrap(file)), cast<StringAttr>(unwrap(producer)),
275 DILexicalBlockAttr::get(unwrap(ctx), cast<DIScopeAttr>(unwrap(scope)),
276 cast<DIFileAttr>(unwrap(file)), line, column));
284 unwrap(ctx), cast<DIScopeAttr>(unwrap(scope)),
285 cast<DIFileAttr>(unwrap(file)), discriminator));
293 unwrap(ctx), cast<DIScopeAttr>(unwrap(scope)),
294 cast<StringAttr>(unwrap(name)), cast<DIFileAttr>(unwrap(diFile)), line,
295 arg, alignInBits, cast<DITypeAttr>(unwrap(diType)), DIFlags(flags)));
308 [](Attribute a) { return cast<DITypeAttr>(a); })));
312 return wrap(DISubprogramAttr::getRecSelf(cast<DistinctAttr>(unwrap(recId))));
329 unwrap(ctx), cast<DistinctAttr>(unwrap(recId)), isRecSelf,
330 cast<DistinctAttr>(unwrap(id)),
331 cast<DICompileUnitAttr>(unwrap(compileUnit)),
332 cast<DIScopeAttr>(unwrap(scope)), cast<StringAttr>(unwrap(name)),
333 cast<StringAttr>(unwrap(linkageName)), cast<DIFileAttr>(unwrap(file)),
335 cast<DISubroutineTypeAttr>(unwrap(type)),
338 [](Attribute a) { return cast<DINodeAttr>(a); }),
341 [](Attribute a) { return cast<DINodeAttr>(a); })));
345 return wrap(cast<DISubprogramAttr>(unwrap(diSubprogram)).getScope());
349 return cast<DISubprogramAttr>(unwrap(diSubprogram)).getLine();
353 return cast<DISubprogramAttr>(unwrap(diSubprogram)).getScopeLine();
358 return wrap(cast<DISubprogramAttr>(unwrap(diSubprogram)).getCompileUnit());
362 return wrap(cast<DISubprogramAttr>(unwrap(diSubprogram)).getFile());
366 return wrap(cast<DISubprogramAttr>(unwrap(diSubprogram)).getType());
376 unwrap(ctx), cast<DIFileAttr>(unwrap(file)),
377 cast<DIScopeAttr>(unwrap(scope)), cast<StringAttr>(unwrap(name)),
378 cast<StringAttr>(unwrap(configMacros)),
379 cast<StringAttr>(unwrap(includePath)), cast<StringAttr>(unwrap(apinotes)),
384 return wrap(cast<DIModuleAttr>(unwrap(diModule)).getScope());
394 unwrap(ctx), tag, cast<DIScopeAttr>(unwrap(scope)),
395 cast<DINodeAttr>(unwrap(entity)), cast<DIFileAttr>(unwrap(file)), line,
396 cast<StringAttr>(unwrap(name)),
398 [](Attribute a) { return cast<DINodeAttr>(a); })));
403 return wrap(DIAnnotationAttr::get(unwrap(ctx), cast<StringAttr>(unwrap(name)),
404 cast<StringAttr>(unwrap(value))));