/external/llvm/lib/Transforms/Utils/ |
SimplifyLibCalls.cpp | 159 FunctionType *FT = Callee->getFunctionType(); 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(); 186 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) | [all...] |
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/llvm/examples/ModuleMaker/ |
ModuleMaker.cpp | 33 FunctionType *FT = 38 Function *F = Function::Create(FT, Function::ExternalLinkage, "main", M);
|
/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/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/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...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/numeric/conversion/detail/ |
meta.hpp | 90 // for_both<expr0,expr1,TT,TF,FT,FF>::type 93 // {TT,TF,FT,FF} are aribtrary types. (not metafunctions) 97 template<class expr0, class expr1, class TT, class TF, class FT, class FF> 110 typedef mpl::if_<caseFT,FT,FF> choose_FT_FF_Q ;
|
/external/llvm/lib/IR/ |
LLVMContextImpl.h | 148 KeyTy(const FunctionType* FT) : 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) { 178 return getHashValue(KeyTy(FT));
|
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/Target/ |
Mangler.cpp | 230 FunctionType *FT = F->getFunctionType(); 233 (!FT->isVarArg() || FT->getNumParams() == 0 || 234 (FT->getNumParams() == 1 && F->hasStructRetAttr())))
|
/external/llvm/lib/Target/R600/ |
R600TextureIntrinsicsReplacer.cpp | 122 void ReplaceCallInst(CallInst &I, FunctionType *FT, const char *Name, 151 F = Function::Create(FT, GlobalValue::ExternalLinkage, Name, Mod); 158 void ReplaceTexIntrinsic(CallInst &I, bool hasLOD, FunctionType *FT, 180 ReplaceCallInst(I, FT, useShadowVariant?ShadowInt:VanillaInt, SrcSelect,
|
/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...] |
/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);
|
CodeGenTypes.h | 141 bool isFuncTypeConvertible(const FunctionType *FT);
|
/external/clang/utils/ABITest/ |
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.returnType, output=self.outputTests, indent=4 [all...] |
/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...] |
slang_rs_object_ref_count.cpp | 637 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); 638 if (CountRSObjectTypes(C, FT, Loc)) { 656 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); 657 if (CountRSObjectTypes(C, FT, Loc)) { 700 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); 701 const clang::Type *OrigType = FT; 702 while (FT && FT->isArrayType()) { 703 FT = FT->getArrayElementTypeNoTypeQual() [all...] |
/external/clang/lib/Analysis/ |
BodyFarm.cpp | 36 const FunctionProtoType *FT = 38 if (!FT || !FT->getResultType()->isVoidType() || 39 FT->getNumArgs() != 0)
|
/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/lib/Transforms/InstCombine/ |
InstCombineCalls.cpp | [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/ |
SoftAMR.cpp | 260 static size_t getFrameSize(unsigned FT) { 265 if (FT >= 10) { 269 size_t frameSize = kFrameSizeWB[FT];
|
/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);
|