/external/llvm/examples/ModuleMaker/ |
ModuleMaker.cpp | 33 FunctionType *FT = 38 Function *F = Function::Create(FT, Function::ExternalLinkage, "main", M);
|
/external/llvm/unittests/IR/ |
WaymarkTest.cpp | 30 FunctionType *FT = FunctionType::get(Type::getVoidTy(getGlobalContext()), true); 31 Function *F = Function::Create(FT, GlobalValue::ExternalLinkage);
|
/external/llvm/lib/Target/ |
Mangler.cpp | 230 FunctionType *FT = F->getFunctionType(); 233 (!FT->isVarArg() || FT->getNumParams() == 0 || 234 (FT->getNumParams() == 1 && F->hasStructRetAttr())))
|
/external/llvm/tools/bugpoint/ |
ExecutionDriver.cpp | 392 GCC::FileType FT = SafeInterpreter->OutputCode(BitcodeFile, OutputFile, 398 bool Failure = gcc->MakeSharedObject(OutputFile, FT, SharedObjectFile,
|
/frameworks/av/media/libstagefright/rtsp/ |
AAMRAssembler.cpp | 81 static size_t getFrameSize(bool isWide, unsigned FT) { 89 if (FT == 15) { 93 size_t frameSize = isWide ? kFrameSizeWB[FT] : kFrameSizeNB[FT]; 165 unsigned FT = (toc >> 3) & 0x0f; 167 || (mIsWide && FT > 9 && FT != 15) 168 || (!mIsWide && FT > 8 && FT != 15)) {
|
ARTPWriter.cpp | 728 static size_t getFrameSize(bool isWide, unsigned FT) { 736 size_t frameSize = isWide ? kFrameSizeWB[FT] : kFrameSizeNB[FT]; 765 unsigned FT = (toc >> 3) & 0x0f; 766 CHECK((isWide && FT <= 8) || (!isWide && FT <= 7)); 769 srcOffset += getFrameSize(isWide, FT); 814 unsigned FT = (toc >> 3) & 0x0f; 815 size_t frameSize = getFrameSize(isWide, FT);
|
/external/clang/lib/Analysis/ |
BodyFarm.cpp | 36 const FunctionProtoType *FT = 38 if (!FT || !FT->getResultType()->isVoidType() || 39 FT->getNumArgs() != 0)
|
/external/clang/lib/CodeGen/ |
CodeGenTypes.cpp | 224 bool CodeGenTypes::isFuncTypeConvertible(const FunctionType *FT) { 225 if (!isFuncTypeArgumentConvertible(FT->getResultType())) 228 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) 473 const FunctionType *FT = cast<FunctionType>(Ty); 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);
|
TargetInfo.cpp | 165 QualType FT = FD->getType(); 170 while (const ConstantArrayType *AT = Context.getAsConstantArrayType(FT)) { 173 FT = AT->getElementType(); 176 const RecordType *RT = FT->getAs<RecordType>(); 187 return isEmptyRecord(Context, FT, AllowArrays); 258 QualType FT = FD->getType(); 270 while (const ConstantArrayType *AT = Context.getAsConstantArrayType(FT)) { 273 FT = AT->getElementType(); 276 if (!isAggregateTypeForABI(FT)) { 277 Found = FT.getTypePtr() [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
FunctionLoweringInfo.cpp | 390 FunctionType *FT = cast<FunctionType>( 392 if (FT->isVarArg() && !MMI->usesVAFloatArgument()) {
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
ExternalFunctions.cpp | 94 FunctionType *FT = F->getFunctionType(); 95 for (unsigned i = 0, e = FT->getNumContainedTypes(); i != e; ++i) 96 ExtName += getTypeID(FT->getContainedType(i)); 302 GenericValue lle_X_atexit(FunctionType *FT, 313 GenericValue lle_X_exit(FunctionType *FT, 321 GenericValue lle_X_abort(FunctionType *FT, 332 GenericValue lle_X_sprintf(FunctionType *FT, 414 GenericValue lle_X_printf(FunctionType *FT, 420 GenericValue GV = lle_X_sprintf(FT, NewArgs); 427 GenericValue lle_X_sscanf(FunctionType *FT, [all...] |
/external/llvm/lib/IR/ |
Function.cpp | 236 FunctionType *FT = getFunctionType(); 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)));
|
Type.cpp | 367 FunctionType *FT; 370 FT = (FunctionType*) pImpl->TypeAllocator. 373 new (FT) FunctionType(ReturnType, Params, isVarArg); 374 pImpl->FunctionTypes[FT] = true; 376 FT = I->first; 379 return FT;
|
/external/llvm/lib/Transforms/Utils/ |
BuildLibCalls.cpp | 477 FunctionType *FT = Callee->getFunctionType(); 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->getReturnType() != FT->getParamType(0) | [all...] |
/frameworks/av/media/libstagefright/ |
AMRExtractor.cpp | 72 static size_t getFrameSize(bool isWide, unsigned FT) { 87 if (FT > 15 || (isWide && FT > 9 && FT < 14) || (!isWide && FT > 11 && FT < 15)) { 88 ALOGE("illegal AMR frame type %d", FT); 92 size_t frameSize = isWide ? kFrameSizeWB[FT] : kFrameSizeNB[FT]; 107 unsigned FT = (header >> 3) & 0x0f [all...] |
/external/clang/lib/Sema/ |
SemaExceptionSpec.cpp | 807 const FunctionProtoType *FT; 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/examples/Kaleidoscope/Chapter3/ |
toy.cpp | 405 FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()), 408 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule);
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
toy.cpp | 413 FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()), 416 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule);
|
/external/llvm/lib/Analysis/ |
Lint.cpp | 209 FunctionType *FT = F->getFunctionType(); 212 Assert1(FT->isVarArg() ? 213 FT->getNumParams() <= NumActualArgs : 214 FT->getNumParams() == NumActualArgs, 218 Assert1(FT->getReturnType() == I.getType(),
|
/external/clang/lib/AST/ |
DeclPrinter.cpp | 426 const FunctionProtoType *FT = 0; 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->hasDynamicExceptionSpec()) [all...] |
MicrosoftMangle.cpp | 274 const FunctionProtoType *FT = T->castAs<FunctionProtoType>(); 288 mangleFunctionType(FT, FD, InStructor, InInstMethod); [all...] |
/external/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 658 FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()), 661 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule);
|
/frameworks/compile/libbcc/lib/Renderscript/ |
RSForEachExpand.cpp | 194 llvm::FunctionType *FT = 197 llvm::Function::Create(FT, llvm::GlobalValue::ExternalLinkage,
|
/frameworks/compile/slang/ |
slang_rs_export_type.cpp | 233 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); 234 FT = GET_CANONICAL_TYPE(FT); 236 if (!TypeExportableHelper(FT, SPS, DiagEngine, VD, TopLevelRecord)) { 441 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); 442 FT = GET_CANONICAL_TYPE(FT); 444 if (!ValidateTypeHelper(C, FT, ND, Loc, SPS, true, UnionDecl, 921 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); 922 while (FT && FT->isArrayType()) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 762 FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()), 765 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule);
|