HomeSort by relevance Sort by last modified time
    Searched refs:FT (Results 1 - 25 of 64) sorted by null

1 2 3

  /external/llvm/lib/Transforms/Scalar/
SimplifyLibCalls.cpp 137 FunctionType *FT = Callee->getFunctionType();
138 if (FT->getNumParams() != 2 ||
139 FT->getReturnType() != B.getInt8PtrTy() ||
140 FT->getParamType(0) != FT->getReturnType() ||
141 FT->getParamType(1) != FT->getReturnType())
187 FunctionType *FT = Callee->getFunctionType();
188 if (FT->getNumParams() != 3 ||
189 FT->getReturnType() != B.getInt8PtrTy() |
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
AdjustedReturnValueChecker.cpp 60 if (const FunctionTextRegion *FT = dyn_cast<FunctionTextRegion>(callee)) {
61 const FunctionDecl *FD = FT->getDecl();
67 const FunctionType *FT = BT->getPointeeType()->getAs<FunctionType>();
68 actualResultTy = FT->getResultType();
  /external/llvm/lib/Transforms/Utils/
BuildLibCalls.cpp 368 FunctionType *FT = Callee->getFunctionType();
374 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) ||
375 !FT->getParamType(0)->isPointerTy() ||
376 !FT->getParamType(1)->isPointerTy() ||
377 FT->getParamType(2) != TD->getIntPtrType(Context) ||
378 FT->getParamType(3) != TD->getIntPtrType(Context))
397 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];
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/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/VMCore/
LLVMContextImpl.h 155 KeyTy(const FunctionType* FT) :
156 ReturnType(FT->getReturnType()),
157 Params(ArrayRef<Type*>(FT->param_begin(), FT->param_end())),
158 isVarArg(FT->isVarArg()) {}
184 static unsigned getHashValue(const FunctionType *FT) {
185 return getHashValue(KeyTy(FT));
Function.cpp 201 FunctionType *FT = getFunctionType();
202 for (unsigned i = 0, e = FT->getNumParams(); i != e; ++i) {
203 assert(!FT->getParamType(i)->isVoidTy() &&
205 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/compile/slang/
slang_rs_export_type.cpp 234 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
235 FT = GET_CANONICAL_TYPE(FT);
237 if (!TypeExportableHelper(FT, SPS, DiagEngine, VD, TopLevelRecord)) {
436 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
437 FT = GET_CANONICAL_TYPE(FT);
439 if (!ValidateVarDeclHelper(VD, FT, SPS, true, UnionDecl, TargetAPI)) {
850 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
851 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)) {
699 const clang::Type *FT = RSExportType::GetTypeOfDecl(FD);
700 const clang::Type *OrigType = FT;
701 while (FT && FT->isArrayType()) {
702 FT = FT->getArrayElementTypeNoTypeQual()
    [all...]
  /external/clang/lib/AST/
DeclPrinter.cpp 417 const FunctionProtoType *FT = 0;
419 FT = dyn_cast<FunctionProtoType>(AFT);
422 if (FT) {
430 if (FT->isVariadic()) {
444 if (FT && FT->getTypeQuals()) {
445 unsigned TypeQuals = FT->getTypeQuals();
454 if (FT && FT->hasDynamicExceptionSpec()) {
456 if (FT->getExceptionSpecType() == EST_MSAny
    [all...]
  /external/llvm/lib/Target/
Mangler.cpp 220 FunctionType *FT = F->getFunctionType();
223 (!FT->isVarArg() || FT->getNumParams() == 0 ||
224 (FT->getNumParams() == 1 && F->hasStructRetAttr())))
  /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/clang/lib/Sema/
SemaExceptionSpec.cpp 791 const FunctionProtoType *FT;
792 if ((FT = T->getAs<FunctionProtoType>())) {
794 FT = PT->getPointeeType()->getAs<FunctionProtoType>();
796 FT = RT->getPointeeType()->getAs<FunctionProtoType>();
798 FT = MT->getPointeeType()->getAs<FunctionProtoType>();
800 FT = BT->getPointeeType()->getAs<FunctionProtoType>();
802 if (!FT)
805 FT = S.ResolveExceptionSpec(E->getLocStart(), FT);
806 if (!FT)
    [all...]
  /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);
CodeGenTypes.h 136 bool isFuncTypeConvertible(const FunctionType *FT);
  /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/StaticAnalyzer/Core/
ExprEngineCallAndReturn.cpp 161 const FunctionProtoType *FT = 0;
163 FT = dyn_cast<FunctionProtoType>(PT->getPointeeType());
166 // FT = dyn_cast<FunctionProtoType>(BT->getPointeeType());
171 if (!FT)
175 return !FT->isVariadic();
  /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);
  /frameworks/compile/libbcc/lib/Transforms/
ForEachExpand.cpp 178 llvm::FunctionType *FT =
181 llvm::Function::Create(FT,
  /external/clang/tools/libclang/
CIndexUSRs.cpp 190 Out << "@FT@";
629 if (const FunctionProtoType *FT = T->getAs<FunctionProtoType>()) {
631 VisitType(FT->getResultType());
633 I = FT->arg_type_begin(), E = FT->arg_type_end(); I!=E; ++I) {
636 if (FT->isVariadic())

Completed in 978 milliseconds

1 2 3