/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...] |
/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));
|
Type.cpp | 361 FunctionType *FT; 364 FT = (FunctionType*) pImpl->TypeAllocator. 367 new (FT) FunctionType(ReturnType, Params, isVarArg); 368 pImpl->FunctionTypes[FT] = true; 370 FT = I->first; 373 return FT;
|
/external/llvm/unittests/IR/ |
WaymarkTest.cpp | 31 FunctionType *FT = FunctionType::get(Type::getVoidTy(getGlobalContext()), true); 32 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, 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...] |
/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);
|
CodeGenTypes.h | 138 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...] |
/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...] |
/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);
|
/external/chromium_org/third_party/skia/experimental/PdfViewer/pdfparser/native/pdfapi/ |
SkPdfFieldDictionary_autogen.cpp | 11 SkString SkPdfFieldDictionary::FT(SkPdfNativeDoc* doc) { 12 SkPdfNativeObject* ret = get("FT", ""); 20 return get("FT", "") != NULL;
|
/external/clang/lib/Index/ |
USRGeneration.cpp | 202 Out << "@FT@"; 634 if (const FunctionProtoType *FT = T->getAs<FunctionProtoType>()) { 636 VisitType(FT->getReturnType()); 637 for (const auto &I : FT->param_types()) 639 if (FT->isVariadic())
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
RetainCountChecker.cpp | 623 const RetainSummary *getUnarySummary(const FunctionType* FT, [all...] |
/external/llvm/examples/Kaleidoscope/Chapter3/ |
toy.cpp | 407 FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()), 410 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(),
|