Searched refs:FT (Results 51 - 75 of 81) sorted by relevance

1234

/external/clang/lib/AST/
H A DMicrosoftMangle.cpp407 const FunctionProtoType *FT = FD->getType()->castAs<FunctionProtoType>(); local
416 mangleFunctionType(FT, FD);
1436 if (const FunctionType *FT = dyn_cast<FunctionType>(T)) {
1438 mangleFunctionType(FT);
1786 const FunctionProtoType *FT) {
1785 mangleThrowSpecification( const FunctionProtoType *FT) argument
H A DDecl.cpp1407 const FunctionProtoType *FT = nullptr; local
1409 FT = dyn_cast<FunctionProtoType>(FD->getType()->castAs<FunctionType>());
1412 if (FT) {
1420 if (FT->isVariadic()) {
2344 if (const FunctionProtoType *FT = getType()->getAs<FunctionProtoType>())
2345 return FT->isVariadic();
H A DStmtPrinter.cpp2193 const FunctionProtoType *FT = cast<FunctionProtoType>(AFT); local
2194 if (FT->isVariadic()) {
H A DASTContext.cpp2876 if (FunctionNoProtoType *FT =
2878 return QualType(FT, 0);
4520 QualType FT = Field->getType();
4542 return FT->isSignedIntegerType() ? IntTy : UnsignedIntTy;
5528 const FunctionType *FT = BT->getPointeeType()->castAs<FunctionType>(); local
5533 FT->getReturnType(), S, ExpandPointedToStructures, ExpandStructures,
5540 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) {
/external/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp520 if (const FunctionType *FT =
522 if (FT->getReturnType()->isVoidType())
524 if (FT->getNoReturnAttr())
H A DSemaType.cpp4650 const FunctionType *FT = Unwrapped.get(); local
4651 bool IsVariadic = (isa<FunctionProtoType>(FT) &&
4652 cast<FunctionProtoType>(FT)->isVariadic());
4657 CallingConv CurCC = FT->getCallConv();
4667 FT = Context.adjustFunctionType(FT, FT->getExtInfo().withCallingConv(ToCC));
4668 QualType Wrapped = Unwrapped.wrap(*this, FT);
H A DSemaDecl.cpp1757 if (const FunctionProtoType *FT = dyn_cast<FunctionProtoType>(R)) {
1759 for (unsigned i = 0, e = FT->getNumParams(); i != e; ++i) {
1762 nullptr, FT->getParamType(i), /*TInfo=*/nullptr,
2647 const FunctionType *FT = local
2649 FunctionType::ExtInfo FI = FT->getExtInfo();
7428 } else if (const FunctionProtoType *FT = R->getAs<FunctionProtoType>()) {
7439 for (const auto &AI : FT->param_types()) {
7527 const FunctionType *FT = NewFD->getType()->castAs<FunctionType>(); local
7528 if (isa<FunctionNoProtoType>(FT) && !D.isFunctionDefinition()) {
7529 CallingConv CC = FT
7790 const FunctionType *FT = NewFD->getType()->getAs<FunctionType>(); local
8208 const FunctionType* FT = T->castAs<FunctionType>(); local
8315 const FunctionType *FT = T->castAs<FunctionType>(); local
[all...]
H A DSemaDeclAttr.cpp2216 const FunctionType *FT = FD->getType()->castAs<FunctionType>(); local
2217 if (isa<FunctionNoProtoType>(FT)) {
2222 if (!cast<FunctionProtoType>(FT)->isVariadic()) {
2239 const FunctionType *FT = Ty->isFunctionPointerType() local
2242 if (!cast<FunctionProtoType>(FT)->isVariadic()) {
5008 if (const FunctionProtoType *FT = FDTy->getAs<FunctionProtoType>()) {
5010 for (const auto &AI : FT->param_types()) {
H A DSemaExpr.cpp4627 const FunctionProtoType *FT = dyn_cast<FunctionProtoType>(DeclType); local
4630 !FT || FT->isVariadic() || ArgExprs.size() != FT->getNumParams())
4637 for (QualType ParamType : FT->param_types()) {
4662 QualType OverloadTy = Context.getFunctionType(FT->getReturnType(),
4674 FT = cast<FunctionProtoType>(OverloadTy);
4675 for (unsigned i = 0, e = FT->getNumParams(); i != e; ++i) {
4676 QualType ParamType = FT->getParamType(i);
14057 if (const FunctionProtoType *FT
[all...]
H A DSemaChecking.cpp4334 const FunctionProtoType *FT = BuiltinType->getAs<FunctionProtoType>(); local
4335 if (!FT)
4338 if (FT->getNumParams() != 1)
4341 return FT->getParamType(0);
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy.cpp1302 FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()), local
1309 Function *F = Function::Create(FT, Function::ExternalLinkage, FnName, M);
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp1380 FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()), local
1387 Function *F = Function::Create(FT, Function::ExternalLinkage, FnName, M);
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/
H A Dtoy.cpp1047 FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()), local
1049 Function *F = Function::Create(FT, Function::ExternalLinkage, FnName,
/external/llvm/examples/Kaleidoscope/Orc/initial/
H A Dtoy.cpp1046 FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()), local
1048 Function *F = Function::Create(FT, Function::ExternalLinkage, FnName,
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/
H A Dtoy.cpp1046 FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()), local
1048 Function *F = Function::Create(FT, Function::ExternalLinkage, FnName,
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/
H A Dtoy.cpp1046 FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()), local
1048 Function *F = Function::Create(FT, Function::ExternalLinkage, FnName,
/external/mesa3d/src/gallium/drivers/radeon/
H A DAMDILPeepholeOptimizer.cpp120 size_t getTypeSize(FunctionType * const FT,bool dereferencePtr = false);
1233 size_t AMDGPUPeepholeOpt::getTypeSize(FunctionType * const FT, argument
/external/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp418 FunctionType *FT = cast<FunctionType>(T); local
421 TypeVals.push_back(FT->isVarArg());
422 TypeVals.push_back(VE.getTypeID(FT->getReturnType()));
423 for (unsigned i = 0, e = FT->getNumParams(); i != e; ++i)
424 TypeVals.push_back(VE.getTypeID(FT->getParamType(i)));
/external/llvm/lib/IR/
H A DAsmWriter.cpp2474 FunctionType *FT = F->getFunctionType(); local
2497 for (unsigned i = 0, e = FT->getNumParams(); i != e; ++i) {
2502 TypePrinter.print(FT->getParamType(i), Out);
2510 if (FT->isVarArg()) {
2511 if (FT->getNumParams()) Out << ", ";
/external/llvm/lib/Linker/
H A DLinkModules.cpp187 } else if (FunctionType *FT = dyn_cast<FunctionType>(DstTy)) {
188 if (FT->isVarArg() != cast<FunctionType>(SrcTy)->isVarArg())
/external/clang/include/clang/AST/
H A DType.h4842 if (const FunctionType *FT = PT->getPointeeType()->getAs<FunctionType>())
4843 return FT->getExtInfo();
4844 } else if (const FunctionType *FT = t.getAs<FunctionType>())
4845 return FT->getExtInfo();
/external/skia/experimental/PdfViewer/pdfparser/native/pdfapi/
H A DSkPdfFieldDictionary_autogen.h521 SkString FT(SkPdfNativeDoc* doc);
/external/llvm/lib/AsmParser/
H A DLLParser.cpp1035 if (FunctionType *FT = dyn_cast<FunctionType>(PTy->getElementType()))
1036 FwdVal = Function::Create(FT, GlobalValue::ExternalWeakLinkage, Name, M);
1075 if (FunctionType *FT = dyn_cast<FunctionType>(PTy->getElementType()))
1076 FwdVal = Function::Create(FT, GlobalValue::ExternalWeakLinkage, "", M);
4173 FunctionType *FT =
4175 PointerType *PFT = PointerType::getUnqual(FT);
4216 Fn = Function::Create(FT, GlobalValue::ExternalLinkage, FunctionName, M);
/external/netperf/
H A Dnetlib.c727 } FT;
732 FT nt_time;
721 } FT; typedef in typeref:union:__anon12900
/external/clang/lib/Analysis/
H A DCFG.cpp1771 const FunctionType *FT = Ty->getAs<FunctionType>(); local
1772 if (FT) {
1773 if (const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FT))

Completed in 677 milliseconds

1234