Home
last modified time | relevance | path

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

/external/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()
/external/clang/lib/CodeGen/
DItaniumCXXABI.cpp1330 llvm::FunctionType *FnTy = llvm::FunctionType::get(RetTy, false); in getOrCreateThreadLocalWrapper() local
1332 FnTy, getThreadLocalWrapperLinkage(Var->getLinkage()), WrapperName.str(), in getOrCreateThreadLocalWrapper()
1370 llvm::FunctionType *FnTy = llvm::FunctionType::get(CGM.VoidTy, false); in EmitThreadLocalInitFuncs() local
1372 FnTy, llvm::GlobalVariable::ExternalWeakLinkage, InitFnName.str(), in EmitThreadLocalInitFuncs()
/external/clang/lib/Sema/
DSemaType.cpp2267 static std::string getFunctionQualifiersAsString(const FunctionProtoType *FnTy){ in getFunctionQualifiersAsString() argument
2269 Qualifiers::fromCVRMask(FnTy->getTypeQuals()).getAsString(); in getFunctionQualifiersAsString()
2271 switch (FnTy->getRefQualifier()) { in getFunctionQualifiersAsString()
3009 const FunctionProtoType *FnTy = T->getAs<FunctionProtoType>(); in GetFullTypeForDeclarator() local
3010 assert(FnTy && "Why oh why is there not a FunctionProtoType here?"); in GetFullTypeForDeclarator()
3070 << getFunctionQualifiersAsString(FnTy) in GetFullTypeForDeclarator()
3074 FunctionProtoType::ExtProtoInfo EPI = FnTy->getExtProtoInfo(); in GetFullTypeForDeclarator()
3078 T = Context.getFunctionType(FnTy->getResultType(), FnTy->getArgTypes(), in GetFullTypeForDeclarator()
DSemaDeclAttr.cpp125 if (const FunctionType *FnTy = getFunctionType(D)) in hasFunctionProto() local
126 return isa<FunctionProtoType>(FnTy); in hasFunctionProto()
137 if (const FunctionType *FnTy = getFunctionType(D)) in getFunctionOrMethodNumArgs() local
138 return cast<FunctionProtoType>(FnTy)->getNumArgs(); in getFunctionOrMethodNumArgs()
145 if (const FunctionType *FnTy = getFunctionType(D)) in getFunctionOrMethodArgType() local
146 return cast<FunctionProtoType>(FnTy)->getArgType(Idx); in getFunctionOrMethodArgType()
154 if (const FunctionType *FnTy = getFunctionType(D)) in getFunctionOrMethodResultType() local
155 return cast<FunctionProtoType>(FnTy)->getResultType(); in getFunctionOrMethodResultType()
160 if (const FunctionType *FnTy = getFunctionType(D)) { in isFunctionOrMethodVariadic() local
161 const FunctionProtoType *proto = cast<FunctionProtoType>(FnTy); in isFunctionOrMethodVariadic()
DSemaOverload.cpp8451 const FunctionProtoType *FnTy = Fn->getType()->getAs<FunctionProtoType>(); in DiagnoseArityMismatch() local
8457 if (MinParams != FnTy->getNumArgs() || in DiagnoseArityMismatch()
8458 FnTy->isVariadic() || FnTy->isTemplateVariadic()) in DiagnoseArityMismatch()
8464 if (MinParams != FnTy->getNumArgs()) in DiagnoseArityMismatch()
8468 modeCount = FnTy->getNumArgs(); in DiagnoseArityMismatch()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1507 Type *FnTy = getTypeByID(Record[0]); in ParseConstants() local
1508 if (FnTy == 0) return Error("Invalid CE_BLOCKADDRESS record"); in ParseConstants()
1510 dyn_cast_or_null<Function>(ValueList.getConstantFwdRef(Record[1],FnTy)); in ParseConstants()