Home
last modified time | relevance | path

Searched refs:FnTy (Results 1 – 6 of 6) sorted by relevance

/freebsd-9-stable/contrib/llvm/lib/Transforms/Utils/
DModuleUtils.cpp26 FunctionType *FnTy = FunctionType::get(IRB.getVoidTy(), false); in appendToGlobalArray() local
28 IRB.getInt32Ty(), PointerType::getUnqual(FnTy), NULL); in appendToGlobalArray()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/CodeGen/
DItaniumCXXABI.cpp1552 llvm::FunctionType *FnTy = llvm::FunctionType::get(RetTy, false); in getOrCreateThreadLocalWrapper() local
1554 FnTy, getThreadLocalWrapperLinkage(Var->getLinkage()), WrapperName.str(), in getOrCreateThreadLocalWrapper()
1592 llvm::FunctionType *FnTy = llvm::FunctionType::get(CGM.VoidTy, false); in EmitThreadLocalInitFuncs() local
1594 FnTy, llvm::GlobalVariable::ExternalWeakLinkage, InitFnName.str(), in EmitThreadLocalInitFuncs()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaDeclAttr.cpp129 if (const FunctionType *FnTy = getFunctionType(D)) in hasFunctionProto() local
130 return isa<FunctionProtoType>(FnTy); in hasFunctionProto()
141 if (const FunctionType *FnTy = getFunctionType(D)) in getFunctionOrMethodNumArgs() local
142 return cast<FunctionProtoType>(FnTy)->getNumArgs(); in getFunctionOrMethodNumArgs()
149 if (const FunctionType *FnTy = getFunctionType(D)) in getFunctionOrMethodArgType() local
150 return cast<FunctionProtoType>(FnTy)->getArgType(Idx); in getFunctionOrMethodArgType()
158 if (const FunctionType *FnTy = getFunctionType(D)) in getFunctionOrMethodResultType() local
159 return cast<FunctionProtoType>(FnTy)->getResultType(); in getFunctionOrMethodResultType()
164 if (const FunctionType *FnTy = getFunctionType(D)) { in isFunctionOrMethodVariadic() local
165 const FunctionProtoType *proto = cast<FunctionProtoType>(FnTy); in isFunctionOrMethodVariadic()
DSemaType.cpp2306 static std::string getFunctionQualifiersAsString(const FunctionProtoType *FnTy){ in getFunctionQualifiersAsString() argument
2308 Qualifiers::fromCVRMask(FnTy->getTypeQuals()).getAsString(); in getFunctionQualifiersAsString()
2310 switch (FnTy->getRefQualifier()) { in getFunctionQualifiersAsString()
3099 const FunctionProtoType *FnTy = T->getAs<FunctionProtoType>(); in GetFullTypeForDeclarator() local
3100 assert(FnTy && "Why oh why is there not a FunctionProtoType here?"); in GetFullTypeForDeclarator()
3160 << getFunctionQualifiersAsString(FnTy) in GetFullTypeForDeclarator()
3164 FunctionProtoType::ExtProtoInfo EPI = FnTy->getExtProtoInfo(); in GetFullTypeForDeclarator()
3168 T = Context.getFunctionType(FnTy->getResultType(), FnTy->getArgTypes(), in GetFullTypeForDeclarator()
DSemaOverload.cpp8554 const FunctionProtoType *FnTy = Fn->getType()->getAs<FunctionProtoType>(); in DiagnoseArityMismatch() local
8560 if (MinParams != FnTy->getNumArgs() || in DiagnoseArityMismatch()
8561 FnTy->isVariadic() || FnTy->isTemplateVariadic()) in DiagnoseArityMismatch()
8567 if (MinParams != FnTy->getNumArgs()) in DiagnoseArityMismatch()
8571 modeCount = FnTy->getNumArgs(); in DiagnoseArityMismatch()
/freebsd-9-stable/contrib/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1519 Type *FnTy = getTypeByID(Record[0]); in ParseConstants() local
1520 if (FnTy == 0) in ParseConstants()
1523 dyn_cast_or_null<Function>(ValueList.getConstantFwdRef(Record[1],FnTy)); in ParseConstants()