Searched refs:FT (Results 1 - 25 of 64) sorted by relevance

123

/freebsd-10.1-release/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp180 FunctionType *FT = Callee->getFunctionType(); local
184 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) ||
185 !FT->getParamType(0)->isPointerTy() ||
186 !FT->getParamType(1)->isPointerTy() ||
187 FT->getParamType(2) != TD->getIntPtrType(Context) ||
188 FT->getParamType(3) != TD->getIntPtrType(Context))
203 FunctionType *FT = Callee->getFunctionType(); local
207 if (FT
226 FunctionType *FT = Callee->getFunctionType(); local
251 FunctionType *FT = Callee->getFunctionType(); local
296 FunctionType *FT = Callee->getFunctionType(); local
346 FunctionType *FT = Callee->getFunctionType(); local
374 FunctionType *FT = Callee->getFunctionType(); local
424 FunctionType *FT = Callee->getFunctionType(); local
468 FunctionType *FT = Callee->getFunctionType(); local
514 FunctionType *FT = Callee->getFunctionType(); local
550 FunctionType *FT = Callee->getFunctionType(); local
595 FunctionType *FT = Callee->getFunctionType(); local
645 FunctionType *FT = Callee->getFunctionType(); local
674 FunctionType *FT = Callee->getFunctionType(); local
709 FunctionType *FT = Callee->getFunctionType(); local
757 FunctionType *FT = Callee->getFunctionType(); local
779 FunctionType *FT = Callee->getFunctionType(); local
814 FunctionType *FT = Callee->getFunctionType(); local
833 FunctionType *FT = Callee->getFunctionType(); local
862 FunctionType *FT = Callee->getFunctionType(); local
894 FunctionType *FT = Callee->getFunctionType(); local
958 FunctionType *FT = Callee->getFunctionType(); local
1076 FunctionType *FT = Callee->getFunctionType(); local
1120 FunctionType *FT = Callee->getFunctionType(); local
1147 FunctionType *FT = Callee->getFunctionType(); local
1215 FunctionType *FT = Callee->getFunctionType(); local
1302 FunctionType *FT = Callee->getFunctionType(); local
1416 FunctionType *FT = Callee->getFunctionType(); local
1450 FunctionType *FT = Callee->getFunctionType(); local
1467 FunctionType *FT = Callee->getFunctionType(); local
1483 FunctionType *FT = Callee->getFunctionType(); local
1498 FunctionType *FT = Callee->getFunctionType(); local
1621 FunctionType *FT = Callee->getFunctionType(); local
1714 FunctionType *FT = Callee->getFunctionType(); local
1795 FunctionType *FT = Callee->getFunctionType(); local
1826 FunctionType *FT = Callee->getFunctionType(); local
1884 FunctionType *FT = Callee->getFunctionType(); local
[all...]
H A DBuildLibCalls.cpp477 FunctionType *FT = Callee->getFunctionType(); local
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
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/
H A DMangler.cpp135 FunctionType *FT = F->getFunctionType(); local
138 (!FT->isVarArg() || FT->getNumParams() == 0 ||
139 (FT->getNumParams() == 1 && F->hasStructRetAttr())))
/freebsd-10.1-release/contrib/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp94 FunctionType *FT = F->getFunctionType(); local
95 for (unsigned i = 0, e = FT->getNumContainedTypes(); i != e; ++i)
96 ExtName += getTypeID(FT->getContainedType(i));
302 GenericValue lle_X_atexit(FunctionType *FT, argument
313 GenericValue lle_X_exit(FunctionType *FT, argument
321 GenericValue lle_X_abort(FunctionType *FT, argument
332 GenericValue lle_X_sprintf(FunctionType *FT, argument
415 GenericValue lle_X_printf(FunctionType *FT, argument
421 GenericValue GV = lle_X_sprintf(FT, NewArgs);
428 GenericValue lle_X_sscanf(FunctionType *FT, argument
444 lle_X_scanf(FunctionType *FT, const std::vector<GenericValue> &args) argument
461 lle_X_fprintf(FunctionType *FT, const std::vector<GenericValue> &Args) argument
474 lle_X_memset(FunctionType *FT, const std::vector<GenericValue> &Args) argument
486 lle_X_memcpy(FunctionType *FT, const std::vector<GenericValue> &Args) argument
[all...]
/freebsd-10.1-release/contrib/llvm/lib/IR/
H A DLLVMContextImpl.h148 KeyTy(const FunctionType* FT) : argument
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) { argument
178 return getHashValue(KeyTy(FT));
H A DFunction.cpp236 FunctionType *FT = getFunctionType(); local
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)));
H A DType.cpp367 FunctionType *FT; local
370 FT = (FunctionType*) pImpl->TypeAllocator.
373 new (FT) FunctionType(ReturnType, Params, isVarArg);
374 pImpl->FunctionTypes[FT] = true;
376 FT = I->first;
379 return FT;
H A DVerifier.cpp338 void VerifyFunctionAttrs(FunctionType *FT, AttributeSet Attrs,
870 void Verifier::VerifyFunctionAttrs(FunctionType *FT, AttributeSet Attrs, argument
883 Ty = FT->getReturnType();
884 else if (Idx-1 < FT->getNumParams())
885 Ty = FT->getParamType(Idx-1);
902 Assert1(Ty->canLosslesslyBitCastTo(FT->getReturnType()), "Incompatible "
1006 FunctionType *FT = F.getFunctionType(); local
1013 Assert2(FT->getNumParams() == NumArgs,
1015 &F, FT);
1026 Assert1(VerifyAttributeCount(Attrs, FT
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp194 Constant *getOrBuildTrampolineFunction(FunctionType *FT, StringRef FName);
312 FunctionType *FT; local
313 if (isa<PointerType>(*i) && (FT = dyn_cast<FunctionType>(cast<PointerType>(
315 ArgTypes.push_back(getTrampolineFunctionType(FT)->getPointerTo());
423 FunctionType *FT = F->getFunctionType(); local
434 unsigned n = FT->getNumParams();
438 if (FT->getReturnType()->isVoidTy())
446 Constant *DataFlowSanitizer::getOrBuildTrampolineFunction(FunctionType *FT, argument
448 FunctionType *FTT = getTrampolineFunctionType(FT);
456 for (unsigned N = FT
568 FunctionType *FT = F.getFunctionType(); local
1224 FunctionType *FT = F->getFunctionType(); local
1293 FunctionType *FT = cast<FunctionType>( local
[all...]
/freebsd-10.1-release/usr.bin/checknr/
H A Dchecknr.c96 #define FT 1 macro
351 if (stk[stktop].opno == FT) {
358 stk[++stktop].opno = FT;
393 case FT:
456 if (stk[j+1].opno==FT && stk[j+1].parm!='R'
457 && stk[j+2].opno==FT && stk[j+2].parm=='R') {
/freebsd-10.1-release/sys/mips/mips/
H A Dfp.S637 xor ta0, ta0, 1 # negate FT sign bit
646 bne ta1, SEXP_INF, result_fs_s # if FT is not inf, result=FS
648 bne ta2, zero, result_ft_s # if FT is NAN, result is FT
652 beq ta1, SEXP_INF, result_ft_s # if FT is inf, result=FT
655 bne ta1, zero, 2f # is FT a denormalized num?
656 beq ta2, zero, result_fs_s # FT is zero, result=FS
662 subu ta1, ta1, SEXP_BIAS # unbias FT exponent
666 bne ta1, zero, result_ft_s # if FT !
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/R600/
H A DR600TextureIntrinsicsReplacer.cpp121 void ReplaceCallInst(CallInst &I, FunctionType *FT, const char *Name, argument
150 F = Function::Create(FT, GlobalValue::ExternalLinkage, Name, Mod);
157 void ReplaceTexIntrinsic(CallInst &I, bool hasLOD, FunctionType *FT, argument
179 ReplaceCallInst(I, FT, useShadowVariant?ShadowInt:VanillaInt, SrcSelect,
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/AST/
H A DMangle.cpp80 const FunctionType *FT = T->castAs<FunctionType>(); local
82 CallingConv CC = FT->getCallConv();
154 const FunctionType *FT = FD->getType()->castAs<FunctionType>(); local
155 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FT);
H A DDeclPrinter.cpp428 const FunctionProtoType *FT = 0; local
430 FT = dyn_cast<FunctionProtoType>(AFT);
433 if (FT) {
441 if (FT->isVariadic()) {
455 if (FT) {
456 if (FT->isConst())
458 if (FT->isVolatile())
460 if (FT->isRestrict())
464 if (FT && FT
[all...]
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenTypes.cpp224 bool CodeGenTypes::isFuncTypeConvertible(const FunctionType *FT) { argument
225 if (!isFuncTypeArgumentConvertible(FT->getResultType()))
228 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT))
473 const FunctionType *FT = cast<FunctionType>(Ty); local
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);
H A DCodeGenTypes.h138 bool isFuncTypeConvertible(const FunctionType *FT);
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Analysis/
H A DBodyFarm.cpp36 const FunctionProtoType *FT = local
38 if (!FT || !FT->getResultType()->isVoidType() ||
39 FT->getNumArgs() != 0)
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExceptionSpec.cpp807 const FunctionProtoType *FT; local
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...]
/freebsd-10.1-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp993 FunctionType *FT = Callee->getFunctionType(); local
995 Type *NewRetTy = FT->getReturnType();
1036 unsigned NumCommonArgs = std::min(FT->getNumParams(), NumActualArgs);
1040 Type *ParamTy = FT->getParamType(i);
1069 if (FT->getNumParams() < NumActualArgs && !FT->isVarArg())
1076 if (FT->isVarArg()!=cast<FunctionType>(APTy->getElementType())->isVarArg())
1082 if (FT->isVarArg() &&
1084 FT->getNumParams() !=
1089 if (FT
[all...]
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Index/
H A DUSRGeneration.cpp176 Out << "@FT@";
628 if (const FunctionProtoType *FT = T->getAs<FunctionProtoType>()) {
630 VisitType(FT->getResultType());
632 I = FT->arg_type_begin(), E = FT->arg_type_end(); I!=E; ++I) {
635 if (FT->isVariadic())
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DRetainCountChecker.cpp555 const RetainSummary *getUnarySummary(const FunctionType* FT,
962 const FunctionType* FT = FD->getType()->getAs<FunctionType>(); local
974 QualType RetTy = FT->getResultType();
987 ? getUnarySummary(FT, cfmakecollectable)
1071 S = getUnarySummary(FT, cfretain);
1073 S = getUnarySummary(FT, cfautorelease);
1078 S = getUnarySummary(FT, cfmakecollectable);
1090 S = getUnarySummary(FT, cfretain);
1120 S = getUnarySummary(FT, cfrelease);
1172 RetainSummaryManager::getUnarySummary(const FunctionType* FT, argument
[all...]
/freebsd-10.1-release/contrib/llvm/include/llvm/Analysis/
H A DDominators.h662 template<class FT>
663 void recalculate(FT& F) {
664 typedef GraphTraits<FT*> TraitsTy;
675 Calculate<FT, NodeT*>(*this, F);
688 Calculate<FT, Inverse<NodeT*> >(*this, F);
/freebsd-10.1-release/contrib/llvm/lib/Analysis/
H A DLint.cpp209 FunctionType *FT = F->getFunctionType(); local
212 Assert1(FT->isVarArg() ?
213 FT->getNumParams() <= NumActualArgs :
214 FT->getNumParams() == NumActualArgs,
218 Assert1(FT->getReturnType() == I.getType(),
/freebsd-10.1-release/contrib/llvm/tools/bugpoint/
H A DExecutionDriver.cpp391 GCC::FileType FT = SafeInterpreter->OutputCode(BitcodeFile, OutputFile, local
397 bool Failure = gcc->MakeSharedObject(OutputFile, FT, SharedObjectFile,
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
H A DRewriteObjC.cpp436 QualType convertFunctionTypeOfBlocks(const FunctionType *FT);
819 if (const FunctionProtoType *FT = dyn_cast<FunctionProtoType>(FPRetType)){
821 for (unsigned i = 0, e = FT->getNumArgs(); i != e; ++i) {
823 std::string ParamStr = FT->getArgType(i).getAsString(
827 if (FT->isVariadic()) {
828 if (FT->getNumArgs()) Getr += ", ";
1158 if (const FunctionProtoType *FT = dyn_cast<FunctionProtoType>(FPRetType)) {
1160 for (unsigned i = 0, e = FT->getNumArgs(); i != e; ++i) {
1162 std::string ParamStr = FT->getArgType(i).getAsString(
1166 if (FT
2059 const FunctionType *FT = msgSendType->getAs<FunctionType>(); local
2649 const FunctionType *FT = msgSendType->getAs<FunctionType>(); local
3033 const FunctionType *FT = msgSendType->getAs<FunctionType>(); local
3344 const FunctionProtoType *FT = cast<FunctionProtoType>(AFT); local
3782 convertFunctionTypeOfBlocks(const FunctionType *FT) argument
3845 const FunctionType *FT = CPT->getPointeeType()->getAs<FunctionType>(); local
[all...]

Completed in 422 milliseconds

123