/external/llvm/lib/Transforms/Utils/ |
SimplifyLibCalls.cpp | 181 FunctionType *FT = Callee->getFunctionType(); 185 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) || 186 !FT->getParamType(0)->isPointerTy() || 187 !FT->getParamType(1)->isPointerTy() || 188 FT->getParamType(2) != DL->getIntPtrType(Context) || 189 FT->getParamType(3) != DL->getIntPtrType(Context)) 205 FunctionType *FT = Callee->getFunctionType(); 209 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) | [all...] |
BuildLibCalls.cpp | 506 FunctionType *FT = Callee->getFunctionType(); 512 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) || 513 !FT->getParamType(0)->isPointerTy() || 514 !FT->getParamType(1)->isPointerTy() || 515 FT->getParamType(2) != TD->getIntPtrType(Context) || 516 FT->getParamType(3) != TD->getIntPtrType(Context)) 535 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);
|
/external/llvm/lib/IR/ |
Mangler.cpp | 131 FunctionType *FT = MSFunc->getFunctionType(); 134 (!FT->isVarArg() || FT->getNumParams() == 0 || 135 (FT->getNumParams() == 1 && MSFunc->hasStructRetAttr())))
|
LLVMContextImpl.h | 151 KeyTy(const FunctionType* FT) : 152 ReturnType(FT->getReturnType()), 153 Params(ArrayRef<Type*>(FT->param_begin(), FT->param_end())), 154 isVarArg(FT->isVarArg()) {} 180 static unsigned getHashValue(const FunctionType *FT) { 181 return getHashValue(KeyTy(FT));
|
/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 | 31 FunctionType *FT = FunctionType::get(Type::getVoidTy(getGlobalContext()), true); 32 Function *F = Function::Create(FT, GlobalValue::ExternalLinkage);
|
/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/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, 415 GenericValue lle_X_printf(FunctionType *FT, 421 GenericValue GV = lle_X_sprintf(FT, NewArgs); 428 GenericValue lle_X_sscanf(FunctionType *FT, [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
DataFlowSanitizer.cpp | 255 Constant *getOrBuildTrampolineFunction(FunctionType *FT, StringRef FName); 374 FunctionType *FT; 375 if (isa<PointerType>(*i) && (FT = dyn_cast<FunctionType>(cast<PointerType>( 377 ArgTypes.push_back(getTrampolineFunctionType(FT)->getPointerTo()); 488 FunctionType *FT = F->getFunctionType(); 499 unsigned n = FT->getNumParams(); 503 if (FT->getReturnType()->isVoidTy()) 511 Constant *DataFlowSanitizer::getOrBuildTrampolineFunction(FunctionType *FT, 513 FunctionType *FTT = getTrampolineFunctionType(FT); 521 for (unsigned N = FT->getNumParams(); N != 0; ++AI, --N [all...] |
/frameworks/compile/slang/ |
slang_rs_export_type.cpp | 308 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); 309 FT = GetCanonicalType(FT); 311 if (!TypeExportableHelper(FT, SPS, Context, VD, TopLevelRecord)) { 517 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); 518 FT = GetCanonicalType(FT); 520 if (!ValidateTypeHelper(Context, C, FT, ND, Loc, SPS, true, UnionDecl, [all...] |
slang_rs_object_ref_count.cpp | 621 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); 622 if (CountRSObjectTypes(C, FT, Loc)) { 640 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); 641 if (CountRSObjectTypes(C, FT, Loc)) { 684 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD); 685 const clang::Type *OrigType = FT; 686 while (FT && FT->isArrayType()) { 687 FT = FT->getArrayElementTypeNoTypeQual() [all...] |
/external/clang/lib/AST/ |
Mangle.cpp | 80 const FunctionType *FT = T->castAs<FunctionType>(); 82 CallingConv CC = FT->getCallConv(); 154 const FunctionType *FT = FD->getType()->castAs<FunctionType>(); 155 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FT);
|
DeclPrinter.cpp | 419 const FunctionProtoType *FT = nullptr; 421 FT = dyn_cast<FunctionProtoType>(AFT); 424 if (FT) { 432 if (FT->isVariadic()) { 446 if (FT) { 447 if (FT->isConst()) 449 if (FT->isVolatile()) 451 if (FT->isRestrict()) 454 switch (FT->getRefQualifier()) { 466 if (FT && FT->hasDynamicExceptionSpec()) [all...] |
/external/llvm/lib/Target/R600/ |
R600TextureIntrinsicsReplacer.cpp | 121 void ReplaceCallInst(CallInst &I, FunctionType *FT, const char *Name, 150 F = Function::Create(FT, GlobalValue::ExternalLinkage, Name, Mod); 157 void ReplaceTexIntrinsic(CallInst &I, bool hasLOD, FunctionType *FT, 179 ReplaceCallInst(I, FT, useShadowVariant?ShadowInt:VanillaInt, SrcSelect,
|
/external/clang/lib/CodeGen/ |
CodeGenTypes.cpp | 218 bool CodeGenTypes::isFuncTypeConvertible(const FunctionType *FT) { 219 if (!isFuncParamTypeConvertible(FT->getReturnType())) 222 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) 471 const FunctionType *FT = cast<FunctionType>(Ty); 475 if (!isFuncTypeConvertible(FT)) { 480 if (const RecordType *RT = FT->getReturnType()->getAs<RecordType>()) 482 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) 507 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) { 511 const FunctionNoProtoType *FNPT = cast<FunctionNoProtoType>(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...] |
/external/llvm/lib/Target/Mips/ |
Mips16HardFloat.cpp | 172 static bool needsFPReturnHelper(const FunctionType &FT) { 173 Type* RetType = FT.getReturnType(); 414 const FunctionType *FT=nullptr; 415 if (PFT) FT = dyn_cast<FunctionType>(PFT->getElementType()); 417 if (FT && needsFPReturnHelper(*FT) &&
|
/external/clang/lib/Sema/ |
SemaExceptionSpec.cpp | 821 const FunctionProtoType *FT; 822 if ((FT = T->getAs<FunctionProtoType>())) { 824 FT = PT->getPointeeType()->getAs<FunctionProtoType>(); 826 FT = RT->getPointeeType()->getAs<FunctionProtoType>(); 828 FT = MT->getPointeeType()->getAs<FunctionProtoType>() [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/clang/lib/Analysis/ |
BodyFarm.cpp | 36 const FunctionProtoType *FT = 38 if (!FT || !FT->getReturnType()->isVoidType() || FT->getNumParams() != 0)
|
/external/llvm/include/llvm/Support/ |
GenericDomTree.h | 677 template<class FT> 678 void recalculate(FT& F) { 679 typedef GraphTraits<FT*> TraitsTy; 690 Calculate<FT, NodeT*>(*this, F); 703 Calculate<FT, Inverse<NodeT*> >(*this, F);
|