/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 | 31 FunctionType *FT = FunctionType::get(Type::getVoidTy(getGlobalContext()), true); 33 Function::Create(FT, GlobalValue::ExternalLinkage));
|
/external/llvm/lib/IR/ |
Mangler.cpp | 161 FunctionType *FT = MSFunc->getFunctionType(); 164 (!FT->isVarArg() || FT->getNumParams() == 0 || 165 (FT->getNumParams() == 1 && MSFunc->hasStructRetAttr())))
|
Function.cpp | 286 FunctionType *FT = getFunctionType(); 287 for (unsigned i = 0, e = FT->getNumParams(); i != e; ++i) { 288 assert(!FT->getParamType(i)->isVoidTy() && 290 ArgumentList.push_back(new Argument(FT->getParamType(i))); 481 } else if (FunctionType* FT = dyn_cast<FunctionType>(Ty)) { 482 Result += "f_" + getMangledTypeStr(FT->getReturnType()); 483 for (size_t i = 0; i < FT->getNumParams(); i++) 484 Result += getMangledTypeStr(FT->getParamType(i)); 485 if (FT->isVarArg()) [all...] |
Type.cpp | 360 FunctionType *FT; 363 FT = (FunctionType*) pImpl->TypeAllocator. 366 new (FT) FunctionType(ReturnType, Params, isVarArg); 367 pImpl->FunctionTypes.insert(FT); 369 FT = *I; 372 return FT;
|
/external/clang/lib/AST/ |
Mangle.cpp | 83 const FunctionType *FT = T->castAs<FunctionType>(); 85 CallingConv CC = FT->getCallConv(); 164 const FunctionType *FT = FD->getType()->castAs<FunctionType>(); 165 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FT);
|
DeclPrinter.cpp | 476 const FunctionProtoType *FT = nullptr; 478 FT = dyn_cast<FunctionProtoType>(AFT); 481 if (FT) { 489 if (FT->isVariadic()) { 503 if (FT) { 504 if (FT->isConst()) 506 if (FT->isVolatile()) 508 if (FT->isRestrict()) 511 switch (FT->getRefQualifier()) { 523 if (FT && FT->hasDynamicExceptionSpec()) [all...] |
/external/llvm/tools/bugpoint/ |
ExecutionDriver.cpp | 398 CC::FileType FT = SafeInterpreter->OutputCode(BitcodeFile, OutputFile, 404 bool Failure = cc->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 | 37 const FunctionProtoType *FT = 39 return FT && FT->getReturnType()->isVoidType() && FT->getNumParams() == 0;
|
/external/clang/lib/CodeGen/ |
CodeGenTypes.cpp | 225 bool CodeGenTypes::isFuncTypeConvertible(const FunctionType *FT) { 226 if (!isFuncParamTypeConvertible(FT->getReturnType())) 229 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) 301 const FunctionType *FT = cast<FunctionType>(QFT.getTypePtr()); 305 if (!isFuncTypeConvertible(FT)) { 310 if (const RecordType *RT = FT->getReturnType()->getAs<RecordType>()) 312 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) 334 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) { 338 const FunctionNoProtoType *FNPT = cast<FunctionNoProtoType>(FT);
|
/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)); 299 static GenericValue lle_X_atexit(FunctionType *FT, 309 static GenericValue lle_X_exit(FunctionType *FT, ArrayRef<GenericValue> Args) { 315 static GenericValue lle_X_abort(FunctionType *FT, ArrayRef<GenericValue> Args) { 324 static GenericValue lle_X_sprintf(FunctionType *FT, 406 static GenericValue lle_X_printf(FunctionType *FT, 412 GenericValue GV = lle_X_sprintf(FT, NewArgs); 418 static GenericValue lle_X_sscanf(FunctionType *FT, [all...] |
/external/lzma/C/ |
Aes.c | 111 #define FT(i, x) Sbox[gb ## x(m[(i + x) & 3])]
112 #define FT4(i) dest[i] = Ui32(FT(i, 0), FT(i, 1), FT(i, 2), FT(i, 3)) ^ w[i];
|
/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]; 110 unsigned FT = (header >> 3) & 0x0f [all...] |
/external/clang/lib/Sema/ |
SemaExceptionSpec.cpp | [all...] |
/external/llvm/examples/Kaleidoscope/Chapter3/ |
toy.cpp | 451 FunctionType *FT = 455 Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get());
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
toy.cpp | 475 FunctionType *FT = 479 Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get());
|
/external/llvm/lib/Analysis/ |
Lint.cpp | 216 FunctionType *FT = F->getFunctionType(); 219 Assert(FT->isVarArg() ? FT->getNumParams() <= NumActualArgs 220 : FT->getNumParams() == NumActualArgs, 225 Assert(FT->getReturnType() == I.getType(),
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
FunctionLoweringInfo.cpp | 534 FunctionType *FT = cast<FunctionType>( 536 if (FT->isVarArg() && !MMI->usesVAFloatArgument()) {
|
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUOpenCLImageTypeLoweringPass.cpp | 257 FunctionType *FT = F->getFunctionType(); 265 for (unsigned i = 0; i < FT->getNumParams(); ++i) { 266 ArgTypes.push_back(FT->getParamType(i)); 290 auto NewFT = FunctionType::get(FT->getReturnType(), ArgTypes, false);
|
/external/llvm/lib/Target/Mips/ |
Mips16HardFloat.cpp | 176 static bool needsFPReturnHelper(FunctionType &FT) { 177 Type* RetType = FT.getReturnType(); 435 FunctionType *FT = nullptr; 436 if (PFT) FT = dyn_cast<FunctionType>(PFT->getElementType()); 438 if (FT && needsFPReturnHelper(*FT) &&
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 749 FunctionType *FT = 753 Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get());
|
/frameworks/compile/slang/ |
slang_rs_export_type.cpp | 325 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); 326 FT = GetCanonicalType(FT); 328 if (!TypeExportableHelper(FT, SPS, Context, VD, TopLevelRecord, 555 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); 556 FT = GetCanonicalType(FT); 558 if (!ValidateTypeHelper(Context, C, FT, ND, Loc, SPS, true, UnionDecl, [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 860 FunctionType *FT = 864 Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get());
|