/external/llvm/examples/ModuleMaker/ |
ModuleMaker.cpp | 33 FunctionType *FT = 38 Function *F = Function::Create(FT, Function::ExternalLinkage, "main", M);
|
/external/llvm/lib/Target/ |
Mangler.cpp | 219 FunctionType *FT = F->getFunctionType(); 222 (!FT->isVarArg() || FT->getNumParams() == 0 || 223 (FT->getNumParams() == 1 && F->hasStructRetAttr())))
|
/external/llvm/tools/bugpoint/ |
ExecutionDriver.cpp | 386 GCC::FileType FT = SafeInterpreter->OutputCode(BitcodeFile, OutputFile, 392 bool Failure = gcc->MakeSharedObject(OutputFile.str(), 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]; 166 unsigned FT = (toc >> 3) & 0x0f; 168 || (mIsWide && FT > 9 && FT != 15) 169 || (!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/CodeGen/ |
CodeGenTypes.cpp | 223 bool CodeGenTypes::isFuncTypeConvertible(const FunctionType *FT) { 224 if (!isFuncTypeArgumentConvertible(FT->getResultType())) 227 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) 450 const FunctionType *FT = cast<FunctionType>(Ty); 454 if (!isFuncTypeConvertible(FT)) { 476 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) { 480 const FunctionNoProtoType *FNPT = cast<FunctionNoProtoType>(FT);
|
TargetInfo.cpp | 119 QualType FT = FD->getType(); 124 while (const ConstantArrayType *AT = Context.getAsConstantArrayType(FT)) { 127 FT = AT->getElementType(); 130 const RecordType *RT = FT->getAs<RecordType>(); 141 return isEmptyRecord(Context, FT, AllowArrays); 233 QualType FT = FD->getType(); 245 while (const ConstantArrayType *AT = Context.getAsConstantArrayType(FT)) { 248 FT = AT->getElementType(); 251 if (!isAggregateTypeForABI(FT)) { 252 Found = FT.getTypePtr() [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
FunctionLoweringInfo.cpp | 385 FunctionType *FT = cast<FunctionType>( 387 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/Transforms/Utils/ |
BuildLibCalls.cpp | 447 FunctionType *FT = Callee->getFunctionType(); 453 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) || 454 !FT->getParamType(0)->isPointerTy() || 455 !FT->getParamType(1)->isPointerTy() || 456 FT->getParamType(2) != TD->getIntPtrType(Context) || 457 FT->getParamType(3) != TD->getIntPtrType(Context)) 476 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) | [all...] |
/external/llvm/lib/VMCore/ |
Function.cpp | 200 FunctionType *FT = getFunctionType(); 201 for (unsigned i = 0, e = FT->getNumParams(); i != e; ++i) { 202 assert(!FT->getParamType(i)->isVoidTy() && 204 ArgumentList.push_back(new Argument(FT->getParamType(i)));
|
Type.cpp | 388 FunctionType *FT; 391 FT = (FunctionType*) pImpl->TypeAllocator. 394 new (FT) FunctionType(ReturnType, Params, isVarArg); 395 pImpl->FunctionTypes[FT] = true; 397 FT = I->first; 400 return FT;
|
/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 | 794 const FunctionProtoType *FT; 795 if ((FT = T->getAs<FunctionProtoType>())) { 797 FT = PT->getPointeeType()->getAs<FunctionProtoType>(); 799 FT = RT->getPointeeType()->getAs<FunctionProtoType>(); 801 FT = MT->getPointeeType()->getAs<FunctionProtoType>(); 803 FT = BT->getPointeeType()->getAs<FunctionProtoType>(); 805 if (!FT) 808 FT = S.ResolveExceptionSpec(E->getLocStart(), FT); 809 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(),
|
/frameworks/compile/libbcc/lib/Renderscript/ |
RSForEachExpand.cpp | 221 llvm::FunctionType *FT = 224 llvm::Function::Create(FT, 441 llvm::FunctionType *FT = 444 llvm::Function::Create(FT,
|
/external/clang/lib/AST/ |
DeclPrinter.cpp | 420 const FunctionProtoType *FT = 0; 422 FT = dyn_cast<FunctionProtoType>(AFT); 425 if (FT) { 433 if (FT->isVariadic()) { 447 if (FT) { 448 if (FT->isConst()) 450 if (FT->isVolatile()) 452 if (FT->isRestrict()) 456 if (FT && FT->hasDynamicExceptionSpec()) [all...] |
MicrosoftMangle.cpp | 229 const FunctionProtoType *FT = FD->getType()->castAs<FunctionProtoType>(); 243 mangleType(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/slang/ |
slang_rs_export_type.cpp | 235 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); 236 FT = GET_CANONICAL_TYPE(FT); 238 if (!TypeExportableHelper(FT, SPS, DiagEngine, VD, TopLevelRecord)) { 442 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); 443 FT = GET_CANONICAL_TYPE(FT); 445 if (!ValidateTypeHelper(C, FT, ND, Loc, SPS, true, UnionDecl, 917 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); 918 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);
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 910 FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()), 913 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); [all...] |
/external/llvm/lib/Bitcode/Writer/ |
BitcodeWriter.cpp | 287 FunctionType *FT = cast<FunctionType>(T); 290 TypeVals.push_back(FT->isVarArg()); 291 TypeVals.push_back(VE.getTypeID(FT->getReturnType())); 292 for (unsigned i = 0, e = FT->getNumParams(); i != e; ++i) 293 TypeVals.push_back(VE.getTypeID(FT->getParamType(i))); [all...] |