/freebsd-10.1-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 180 FunctionType *FT = Callee->getFunctionType(); local 184 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) || 185 !FT->getParamType(0)->isPointerTy() || 186 !FT->getParamType(1)->isPointerTy() || 187 FT->getParamType(2) != TD->getIntPtrType(Context) || 188 FT->getParamType(3) != TD->getIntPtrType(Context)) 203 FunctionType *FT = Callee->getFunctionType(); local 207 if (FT 226 FunctionType *FT = Callee->getFunctionType(); local 251 FunctionType *FT = Callee->getFunctionType(); local 296 FunctionType *FT = Callee->getFunctionType(); local 346 FunctionType *FT = Callee->getFunctionType(); local 374 FunctionType *FT = Callee->getFunctionType(); local 424 FunctionType *FT = Callee->getFunctionType(); local 468 FunctionType *FT = Callee->getFunctionType(); local 514 FunctionType *FT = Callee->getFunctionType(); local 550 FunctionType *FT = Callee->getFunctionType(); local 595 FunctionType *FT = Callee->getFunctionType(); local 645 FunctionType *FT = Callee->getFunctionType(); local 674 FunctionType *FT = Callee->getFunctionType(); local 709 FunctionType *FT = Callee->getFunctionType(); local 757 FunctionType *FT = Callee->getFunctionType(); local 779 FunctionType *FT = Callee->getFunctionType(); local 814 FunctionType *FT = Callee->getFunctionType(); local 833 FunctionType *FT = Callee->getFunctionType(); local 862 FunctionType *FT = Callee->getFunctionType(); local 894 FunctionType *FT = Callee->getFunctionType(); local 958 FunctionType *FT = Callee->getFunctionType(); local 1076 FunctionType *FT = Callee->getFunctionType(); local 1120 FunctionType *FT = Callee->getFunctionType(); local 1147 FunctionType *FT = Callee->getFunctionType(); local 1215 FunctionType *FT = Callee->getFunctionType(); local 1302 FunctionType *FT = Callee->getFunctionType(); local 1416 FunctionType *FT = Callee->getFunctionType(); local 1450 FunctionType *FT = Callee->getFunctionType(); local 1467 FunctionType *FT = Callee->getFunctionType(); local 1483 FunctionType *FT = Callee->getFunctionType(); local 1498 FunctionType *FT = Callee->getFunctionType(); local 1621 FunctionType *FT = Callee->getFunctionType(); local 1714 FunctionType *FT = Callee->getFunctionType(); local 1795 FunctionType *FT = Callee->getFunctionType(); local 1826 FunctionType *FT = Callee->getFunctionType(); local 1884 FunctionType *FT = Callee->getFunctionType(); local [all...] |
H A D | BuildLibCalls.cpp | 477 FunctionType *FT = Callee->getFunctionType(); local 483 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) || 484 !FT->getParamType(0)->isPointerTy() || 485 !FT->getParamType(1)->isPointerTy() || 486 FT->getParamType(2) != TD->getIntPtrType(Context) || 487 FT->getParamType(3) != TD->getIntPtrType(Context)) 506 if (FT->getNumParams() != 4 || FT [all...] |
/freebsd-10.1-release/contrib/llvm/lib/Target/ |
H A D | Mangler.cpp | 135 FunctionType *FT = F->getFunctionType(); local 138 (!FT->isVarArg() || FT->getNumParams() == 0 || 139 (FT->getNumParams() == 1 && F->hasStructRetAttr())))
|
/freebsd-10.1-release/contrib/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | ExternalFunctions.cpp | 94 FunctionType *FT = F->getFunctionType(); local 95 for (unsigned i = 0, e = FT->getNumContainedTypes(); i != e; ++i) 96 ExtName += getTypeID(FT->getContainedType(i)); 302 GenericValue lle_X_atexit(FunctionType *FT, argument 313 GenericValue lle_X_exit(FunctionType *FT, argument 321 GenericValue lle_X_abort(FunctionType *FT, argument 332 GenericValue lle_X_sprintf(FunctionType *FT, argument 415 GenericValue lle_X_printf(FunctionType *FT, argument 421 GenericValue GV = lle_X_sprintf(FT, NewArgs); 428 GenericValue lle_X_sscanf(FunctionType *FT, argument 444 lle_X_scanf(FunctionType *FT, const std::vector<GenericValue> &args) argument 461 lle_X_fprintf(FunctionType *FT, const std::vector<GenericValue> &Args) argument 474 lle_X_memset(FunctionType *FT, const std::vector<GenericValue> &Args) argument 486 lle_X_memcpy(FunctionType *FT, const std::vector<GenericValue> &Args) argument [all...] |
/freebsd-10.1-release/contrib/llvm/lib/IR/ |
H A D | LLVMContextImpl.h | 148 KeyTy(const FunctionType* FT) : argument 149 ReturnType(FT->getReturnType()), 150 Params(ArrayRef<Type*>(FT->param_begin(), FT->param_end())), 151 isVarArg(FT->isVarArg()) {} 177 static unsigned getHashValue(const FunctionType *FT) { argument 178 return getHashValue(KeyTy(FT));
|
H A D | Function.cpp | 236 FunctionType *FT = getFunctionType(); local 237 for (unsigned i = 0, e = FT->getNumParams(); i != e; ++i) { 238 assert(!FT->getParamType(i)->isVoidTy() && 240 ArgumentList.push_back(new Argument(FT->getParamType(i)));
|
H A D | Type.cpp | 367 FunctionType *FT; local 370 FT = (FunctionType*) pImpl->TypeAllocator. 373 new (FT) FunctionType(ReturnType, Params, isVarArg); 374 pImpl->FunctionTypes[FT] = true; 376 FT = I->first; 379 return FT;
|
H A D | Verifier.cpp | 338 void VerifyFunctionAttrs(FunctionType *FT, AttributeSet Attrs, 870 void Verifier::VerifyFunctionAttrs(FunctionType *FT, AttributeSet Attrs, argument 883 Ty = FT->getReturnType(); 884 else if (Idx-1 < FT->getNumParams()) 885 Ty = FT->getParamType(Idx-1); 902 Assert1(Ty->canLosslesslyBitCastTo(FT->getReturnType()), "Incompatible " 1006 FunctionType *FT = F.getFunctionType(); local 1013 Assert2(FT->getNumParams() == NumArgs, 1015 &F, FT); 1026 Assert1(VerifyAttributeCount(Attrs, FT [all...] |
/freebsd-10.1-release/contrib/llvm/lib/Transforms/Instrumentation/ |
H A D | DataFlowSanitizer.cpp | 194 Constant *getOrBuildTrampolineFunction(FunctionType *FT, StringRef FName); 312 FunctionType *FT; local 313 if (isa<PointerType>(*i) && (FT = dyn_cast<FunctionType>(cast<PointerType>( 315 ArgTypes.push_back(getTrampolineFunctionType(FT)->getPointerTo()); 423 FunctionType *FT = F->getFunctionType(); local 434 unsigned n = FT->getNumParams(); 438 if (FT->getReturnType()->isVoidTy()) 446 Constant *DataFlowSanitizer::getOrBuildTrampolineFunction(FunctionType *FT, argument 448 FunctionType *FTT = getTrampolineFunctionType(FT); 456 for (unsigned N = FT 568 FunctionType *FT = F.getFunctionType(); local 1224 FunctionType *FT = F->getFunctionType(); local 1293 FunctionType *FT = cast<FunctionType>( local [all...] |
/freebsd-10.1-release/usr.bin/checknr/ |
H A D | checknr.c | 96 #define FT 1 macro 351 if (stk[stktop].opno == FT) { 358 stk[++stktop].opno = FT; 393 case FT: 456 if (stk[j+1].opno==FT && stk[j+1].parm!='R' 457 && stk[j+2].opno==FT && stk[j+2].parm=='R') {
|
/freebsd-10.1-release/sys/mips/mips/ |
H A D | fp.S | 637 xor ta0, ta0, 1 # negate FT sign bit 646 bne ta1, SEXP_INF, result_fs_s # if FT is not inf, result=FS 648 bne ta2, zero, result_ft_s # if FT is NAN, result is FT 652 beq ta1, SEXP_INF, result_ft_s # if FT is inf, result=FT 655 bne ta1, zero, 2f # is FT a denormalized num? 656 beq ta2, zero, result_fs_s # FT is zero, result=FS 662 subu ta1, ta1, SEXP_BIAS # unbias FT exponent 666 bne ta1, zero, result_ft_s # if FT ! [all...] |
/freebsd-10.1-release/contrib/llvm/lib/Target/R600/ |
H A D | R600TextureIntrinsicsReplacer.cpp | 121 void ReplaceCallInst(CallInst &I, FunctionType *FT, const char *Name, argument 150 F = Function::Create(FT, GlobalValue::ExternalLinkage, Name, Mod); 157 void ReplaceTexIntrinsic(CallInst &I, bool hasLOD, FunctionType *FT, argument 179 ReplaceCallInst(I, FT, useShadowVariant?ShadowInt:VanillaInt, SrcSelect,
|
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | Mangle.cpp | 80 const FunctionType *FT = T->castAs<FunctionType>(); local 82 CallingConv CC = FT->getCallConv(); 154 const FunctionType *FT = FD->getType()->castAs<FunctionType>(); local 155 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FT);
|
H A D | DeclPrinter.cpp | 428 const FunctionProtoType *FT = 0; local 430 FT = dyn_cast<FunctionProtoType>(AFT); 433 if (FT) { 441 if (FT->isVariadic()) { 455 if (FT) { 456 if (FT->isConst()) 458 if (FT->isVolatile()) 460 if (FT->isRestrict()) 464 if (FT && FT [all...] |
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CodeGenTypes.cpp | 224 bool CodeGenTypes::isFuncTypeConvertible(const FunctionType *FT) { argument 225 if (!isFuncTypeArgumentConvertible(FT->getResultType())) 228 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) 473 const FunctionType *FT = cast<FunctionType>(Ty); local 477 if (!isFuncTypeConvertible(FT)) { 482 if (const RecordType *RT = FT->getResultType()->getAs<RecordType>()) 484 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) 509 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) { 513 const FunctionNoProtoType *FNPT = cast<FunctionNoProtoType>(FT);
|
H A D | CodeGenTypes.h | 138 bool isFuncTypeConvertible(const FunctionType *FT);
|
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Analysis/ |
H A D | BodyFarm.cpp | 36 const FunctionProtoType *FT = local 38 if (!FT || !FT->getResultType()->isVoidType() || 39 FT->getNumArgs() != 0)
|
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaExceptionSpec.cpp | 807 const FunctionProtoType *FT; local 808 if ((FT = T->getAs<FunctionProtoType>())) { 810 FT = PT->getPointeeType()->getAs<FunctionProtoType>(); 812 FT = RT->getPointeeType()->getAs<FunctionProtoType>(); 814 FT = MT->getPointeeType()->getAs<FunctionProtoType>(); 816 FT = BT->getPointeeType()->getAs<FunctionProtoType>(); 818 if (!FT) 821 FT = S.ResolveExceptionSpec(E->getLocStart(), FT); 822 if (!FT) [all...] |
/freebsd-10.1-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 993 FunctionType *FT = Callee->getFunctionType(); local 995 Type *NewRetTy = FT->getReturnType(); 1036 unsigned NumCommonArgs = std::min(FT->getNumParams(), NumActualArgs); 1040 Type *ParamTy = FT->getParamType(i); 1069 if (FT->getNumParams() < NumActualArgs && !FT->isVarArg()) 1076 if (FT->isVarArg()!=cast<FunctionType>(APTy->getElementType())->isVarArg()) 1082 if (FT->isVarArg() && 1084 FT->getNumParams() != 1089 if (FT [all...] |
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Index/ |
H A D | USRGeneration.cpp | 176 Out << "@FT@"; 628 if (const FunctionProtoType *FT = T->getAs<FunctionProtoType>()) { 630 VisitType(FT->getResultType()); 632 I = FT->arg_type_begin(), E = FT->arg_type_end(); I!=E; ++I) { 635 if (FT->isVariadic())
|
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | RetainCountChecker.cpp | 555 const RetainSummary *getUnarySummary(const FunctionType* FT, 962 const FunctionType* FT = FD->getType()->getAs<FunctionType>(); local 974 QualType RetTy = FT->getResultType(); 987 ? getUnarySummary(FT, cfmakecollectable) 1071 S = getUnarySummary(FT, cfretain); 1073 S = getUnarySummary(FT, cfautorelease); 1078 S = getUnarySummary(FT, cfmakecollectable); 1090 S = getUnarySummary(FT, cfretain); 1120 S = getUnarySummary(FT, cfrelease); 1172 RetainSummaryManager::getUnarySummary(const FunctionType* FT, argument [all...] |
/freebsd-10.1-release/contrib/llvm/include/llvm/Analysis/ |
H A D | Dominators.h | 662 template<class FT> 663 void recalculate(FT& F) { 664 typedef GraphTraits<FT*> TraitsTy; 675 Calculate<FT, NodeT*>(*this, F); 688 Calculate<FT, Inverse<NodeT*> >(*this, F);
|
/freebsd-10.1-release/contrib/llvm/lib/Analysis/ |
H A D | Lint.cpp | 209 FunctionType *FT = F->getFunctionType(); local 212 Assert1(FT->isVarArg() ? 213 FT->getNumParams() <= NumActualArgs : 214 FT->getNumParams() == NumActualArgs, 218 Assert1(FT->getReturnType() == I.getType(),
|
/freebsd-10.1-release/contrib/llvm/tools/bugpoint/ |
H A D | ExecutionDriver.cpp | 391 GCC::FileType FT = SafeInterpreter->OutputCode(BitcodeFile, OutputFile, local 397 bool Failure = gcc->MakeSharedObject(OutputFile, FT, SharedObjectFile,
|
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/ |
H A D | RewriteObjC.cpp | 436 QualType convertFunctionTypeOfBlocks(const FunctionType *FT); 819 if (const FunctionProtoType *FT = dyn_cast<FunctionProtoType>(FPRetType)){ 821 for (unsigned i = 0, e = FT->getNumArgs(); i != e; ++i) { 823 std::string ParamStr = FT->getArgType(i).getAsString( 827 if (FT->isVariadic()) { 828 if (FT->getNumArgs()) Getr += ", "; 1158 if (const FunctionProtoType *FT = dyn_cast<FunctionProtoType>(FPRetType)) { 1160 for (unsigned i = 0, e = FT->getNumArgs(); i != e; ++i) { 1162 std::string ParamStr = FT->getArgType(i).getAsString( 1166 if (FT 2059 const FunctionType *FT = msgSendType->getAs<FunctionType>(); local 2649 const FunctionType *FT = msgSendType->getAs<FunctionType>(); local 3033 const FunctionType *FT = msgSendType->getAs<FunctionType>(); local 3344 const FunctionProtoType *FT = cast<FunctionProtoType>(AFT); local 3782 convertFunctionTypeOfBlocks(const FunctionType *FT) argument 3845 const FunctionType *FT = CPT->getPointeeType()->getAs<FunctionType>(); local [all...] |