Home | History | Annotate | Download | only in VMCore

Lines Matching defs:FunctionType

306 //                       FunctionType Implementation
309 FunctionType::FunctionType(Type *Result, ArrayRef<Type*> Params,
328 // FunctionType::get - The factory function for the FunctionType class.
329 FunctionType *FunctionType::get(Type *ReturnType,
341 FunctionType *&FT = pImpl->FunctionTypes[Key];
344 FT = (FunctionType*) pImpl->TypeAllocator.
345 Allocate(sizeof(FunctionType) + sizeof(Type*)*(Params.size()+1),
346 AlignOf<FunctionType>::Alignment);
347 new (FT) FunctionType(ReturnType, Params, isVarArg);
354 FunctionType *FunctionType::get(Type *Result, bool isVarArg) {
361 bool FunctionType::isValidReturnType(Type *RetTy) {
368 bool FunctionType::isValidArgumentType(Type *ArgTy) {