/external/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 159 FunctionType *FT = Callee->getFunctionType(); local 163 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) || 164 !FT->getParamType(0)->isPointerTy() || 165 !FT->getParamType(1)->isPointerTy() || 166 FT->getParamType(2) != TD->getIntPtrType(Context) || 167 FT->getParamType(3) != TD->getIntPtrType(Context)) 182 FunctionType *FT = Callee->getFunctionType(); local 186 if (FT 205 FunctionType *FT = Callee->getFunctionType(); local 230 FunctionType *FT = Callee->getFunctionType(); local 275 FunctionType *FT = Callee->getFunctionType(); local 325 FunctionType *FT = Callee->getFunctionType(); local 353 FunctionType *FT = Callee->getFunctionType(); local 403 FunctionType *FT = Callee->getFunctionType(); local 447 FunctionType *FT = Callee->getFunctionType(); local 493 FunctionType *FT = Callee->getFunctionType(); local 529 FunctionType *FT = Callee->getFunctionType(); local 574 FunctionType *FT = Callee->getFunctionType(); local 624 FunctionType *FT = Callee->getFunctionType(); local 653 FunctionType *FT = Callee->getFunctionType(); local 688 FunctionType *FT = Callee->getFunctionType(); local 736 FunctionType *FT = Callee->getFunctionType(); local 758 FunctionType *FT = Callee->getFunctionType(); local 793 FunctionType *FT = Callee->getFunctionType(); local 812 FunctionType *FT = Callee->getFunctionType(); local 841 FunctionType *FT = Callee->getFunctionType(); local 873 FunctionType *FT = Callee->getFunctionType(); local 937 FunctionType *FT = Callee->getFunctionType(); local 1055 FunctionType *FT = Callee->getFunctionType(); local 1099 FunctionType *FT = Callee->getFunctionType(); local 1126 FunctionType *FT = Callee->getFunctionType(); local 1186 FunctionType *FT = Callee->getFunctionType(); local 1238 FunctionType *FT = Callee->getFunctionType(); local 1272 FunctionType *FT = Callee->getFunctionType(); local 1289 FunctionType *FT = Callee->getFunctionType(); local 1305 FunctionType *FT = Callee->getFunctionType(); local 1320 FunctionType *FT = Callee->getFunctionType(); local 1395 FunctionType *FT = Callee->getFunctionType(); local 1488 FunctionType *FT = Callee->getFunctionType(); local 1566 FunctionType *FT = Callee->getFunctionType(); local 1594 FunctionType *FT = Callee->getFunctionType(); local 1649 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...] |
/external/llvm/examples/ModuleMaker/ |
H A D | ModuleMaker.cpp | 33 FunctionType *FT = local 38 Function *F = Function::Create(FT, Function::ExternalLinkage, "main", M);
|
/external/llvm/unittests/IR/ |
H A D | WaymarkTest.cpp | 30 FunctionType *FT = FunctionType::get(Type::getVoidTy(getGlobalContext()), true); local 31 Function *F = Function::Create(FT, GlobalValue::ExternalLinkage);
|
/external/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 414 GenericValue lle_X_printf(FunctionType *FT, argument 420 GenericValue GV = lle_X_sprintf(FT, NewArgs); 427 GenericValue lle_X_sscanf(FunctionType *FT, argument 443 lle_X_scanf(FunctionType *FT, const std::vector<GenericValue> &args) argument 460 lle_X_fprintf(FunctionType *FT, const std::vector<GenericValue> &Args) argument [all...] |
/external/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 | 325 void VerifyFunctionAttrs(FunctionType *FT, AttributeSet Attrs, 843 void Verifier::VerifyFunctionAttrs(FunctionType *FT, AttributeSet Attrs, argument 856 Ty = FT->getReturnType(); 857 else if (Idx-1 < FT->getNumParams()) 858 Ty = FT->getParamType(Idx-1); 875 Assert1(Ty->canLosslesslyBitCastTo(FT->getReturnType()), "Incompatible " 966 FunctionType *FT = F.getFunctionType(); local 973 Assert2(FT->getNumParams() == NumArgs, 975 &F, FT); 986 Assert1(VerifyAttributeCount(Attrs, FT [all...] |
/external/llvm/lib/Target/ |
H A D | Mangler.cpp | 230 FunctionType *FT = F->getFunctionType(); local 233 (!FT->isVarArg() || FT->getNumParams() == 0 || 234 (FT->getNumParams() == 1 && F->hasStructRetAttr())))
|
/external/llvm/lib/Target/R600/ |
H A D | R600TextureIntrinsicsReplacer.cpp | 122 void ReplaceCallInst(CallInst &I, FunctionType *FT, const char *Name, argument 151 F = Function::Create(FT, GlobalValue::ExternalLinkage, Name, Mod); 158 void ReplaceTexIntrinsic(CallInst &I, bool hasLOD, FunctionType *FT, argument 180 ReplaceCallInst(I, FT, useShadowVariant?ShadowInt:VanillaInt, SrcSelect,
|
/external/clang/lib/AST/ |
H A D | DeclPrinter.cpp | 426 const FunctionProtoType *FT = 0; local 428 FT = dyn_cast<FunctionProtoType>(AFT); 431 if (FT) { 439 if (FT->isVariadic()) { 453 if (FT) { 454 if (FT->isConst()) 456 if (FT->isVolatile()) 458 if (FT->isRestrict()) 462 if (FT && FT [all...] |
/external/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);
|
/external/clang/utils/ABITest/ |
H A D | ABITestGen.py | 103 def writeFunction(self, i, FT): 104 args = ', '.join(['%s arg%d'%(self.getTypeName(t),i) for i,t in enumerate(FT.argTypes)]) 108 if FT.returnType is None: 112 retvalTypeName = self.getTypeName(FT.returnType) 114 retvalName = self.getTestReturnValue(FT.returnType) 116 fnName = 'fn%d'%(FT.index,) 126 for i,t in enumerate(FT.argTypes): 149 retvalTests = self.getTestValuesArray(FT.returnType) 150 tests = map(self.getTestValuesArray, FT.argTypes) 160 self.printValueOfType(' %s_RV'%fnName, 'RV', FT [all...] |
/external/clang/lib/Analysis/ |
H A D | BodyFarm.cpp | 36 const FunctionProtoType *FT = local 38 if (!FT || !FT->getResultType()->isVoidType() || 39 FT->getNumArgs() != 0)
|
/external/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...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 993 FunctionType *FT = Callee->getFunctionType(); local 995 Type *NewRetTy = FT->getReturnType(); 1041 unsigned NumCommonArgs = std::min(FT->getNumParams(), NumActualArgs); 1045 Type *ParamTy = FT->getParamType(i); 1085 if (FT->getNumParams() < NumActualArgs && !FT->isVarArg()) 1092 if (FT->isVarArg()!=cast<FunctionType>(APTy->getElementType())->isVarArg()) 1098 if (FT->isVarArg() && 1100 FT->getNumParams() != 1105 if (FT [all...] |
/external/llvm/examples/Kaleidoscope/Chapter3/ |
H A D | toy.cpp | 405 FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()), local 408 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | RetainCountChecker.cpp | 636 const RetainSummary *getUnarySummary(const FunctionType* FT, 1039 const FunctionType* FT = FD->getType()->getAs<FunctionType>(); local 1051 QualType RetTy = FT->getResultType(); 1064 ? getUnarySummary(FT, cfmakecollectable) 1148 S = getUnarySummary(FT, cfretain); 1150 S = getUnarySummary(FT, cfmakecollectable); 1160 S = getUnarySummary(FT, cfretain); 1190 S = getUnarySummary(FT, cfrelease); 1242 RetainSummaryManager::getUnarySummary(const FunctionType* FT, argument 1247 const FunctionProtoType* FTP = dyn_cast<FunctionProtoType>(FT); [all...] |
/external/clang/tools/libclang/ |
H A D | CIndexUSRs.cpp | 183 Out << "@FT@"; 635 if (const FunctionProtoType *FT = T->getAs<FunctionProtoType>()) { 637 VisitType(FT->getResultType()); 639 I = FT->arg_type_begin(), E = FT->arg_type_end(); I!=E; ++I) { 642 if (FT->isVariadic())
|
/external/llvm/include/llvm/Analysis/ |
H A D | Dominators.h | 648 template<class FT> 649 void recalculate(FT& F) { 650 typedef GraphTraits<FT*> TraitsTy; 661 Calculate<FT, NodeT*>(*this, F); 674 Calculate<FT, Inverse<NodeT*> >(*this, F);
|
/external/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(),
|
/external/llvm/lib/Support/Windows/ |
H A D | Path.inc | 679 FILETIME FT; 680 FT.dwLowDateTime = UI.LowPart; 681 FT.dwHighDateTime = UI.HighPart; 683 if (!SetFileTime(FileHandle, NULL, &FT, &FT))
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
H A D | hb-ft.cc | 443 DEBUG_MSG (FT, font, "Font face has empty blob"); 454 DEBUG_MSG (FT, font, "Font face FT_New_Memory_Face() failed");
|
/external/harfbuzz_ng/src/ |
H A D | hb-ft.cc | 443 DEBUG_MSG (FT, font, "Font face has empty blob"); 454 DEBUG_MSG (FT, font, "Font face FT_New_Memory_Face() failed");
|