Home
last modified time | relevance | path

Searched refs:FT (Results 1 – 25 of 159) sorted by relevance

1234567

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp137 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer() local
138 if (FT->getNumParams() != 2 || in CallOptimizer()
139 FT->getReturnType() != B.getInt8PtrTy() || in CallOptimizer()
140 FT->getParamType(0) != FT->getReturnType() || in CallOptimizer()
141 FT->getParamType(1) != FT->getReturnType()) in CallOptimizer()
187 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer() local
188 if (FT->getNumParams() != 3 || in CallOptimizer()
189 FT->getReturnType() != B.getInt8PtrTy() || in CallOptimizer()
190 FT->getParamType(0) != FT->getReturnType() || in CallOptimizer()
191 FT->getParamType(1) != FT->getReturnType() || in CallOptimizer()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBuildLibCalls.cpp364 FunctionType *FT = Callee->getFunctionType(); in fold() local
370 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) || in fold()
371 !FT->getParamType(0)->isPointerTy() || in fold()
372 !FT->getParamType(1)->isPointerTy() || in fold()
373 FT->getParamType(2) != TD->getIntPtrType(Context) || in fold()
374 FT->getParamType(3) != TD->getIntPtrType(Context)) in fold()
393 if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) || in fold()
394 !FT->getParamType(0)->isPointerTy() || in fold()
395 !FT->getParamType(1)->isPointerTy() || in fold()
396 FT->getParamType(2) != TD->getIntPtrType(Context) || in fold()
[all …]
/external/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp94 FunctionType *FT = F->getFunctionType(); in lookupFunction() local
95 for (unsigned i = 0, e = FT->getNumContainedTypes(); i != e; ++i) in lookupFunction()
96 ExtName += getTypeID(FT->getContainedType(i)); in lookupFunction()
299 static GenericValue lle_X_atexit(FunctionType *FT, in lle_X_atexit() argument
309 static GenericValue lle_X_exit(FunctionType *FT, ArrayRef<GenericValue> Args) { in lle_X_exit() argument
315 static GenericValue lle_X_abort(FunctionType *FT, ArrayRef<GenericValue> Args) { in lle_X_abort() argument
324 static GenericValue lle_X_sprintf(FunctionType *FT, in lle_X_sprintf() argument
406 static GenericValue lle_X_printf(FunctionType *FT, in lle_X_printf() argument
412 GenericValue GV = lle_X_sprintf(FT, NewArgs); in lle_X_printf()
418 static GenericValue lle_X_sscanf(FunctionType *FT, in lle_X_sscanf() argument
[all …]
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp94 FunctionType *FT = F->getFunctionType(); in lookupFunction() local
95 for (unsigned i = 0, e = FT->getNumContainedTypes(); i != e; ++i) in lookupFunction()
96 ExtName += getTypeID(FT->getContainedType(i)); in lookupFunction()
307 GenericValue lle_X_atexit(FunctionType *FT, in lle_X_atexit() argument
317 GenericValue lle_X_exit(FunctionType *FT, in lle_X_exit() argument
324 GenericValue lle_X_abort(FunctionType *FT, in lle_X_abort() argument
334 GenericValue lle_X_sprintf(FunctionType *FT, in lle_X_sprintf() argument
416 GenericValue lle_X_printf(FunctionType *FT, in lle_X_printf() argument
422 GenericValue GV = lle_X_sprintf(FT, NewArgs); in lle_X_printf()
428 GenericValue lle_X_sscanf(FunctionType *FT, in lle_X_sscanf() argument
[all …]
/external/python/cpython2/Modules/
Dshamodule.c155 #define FT(n) \ macro
182 FA(1); FB(1); FC(1); FD(1); FE(1); FT(1); FA(1); FB(1); FC(1); FD(1); in sha_transform()
183 FE(1); FT(1); FA(1); FB(1); FC(1); FD(1); FE(1); FT(1); FA(1); FB(1); in sha_transform()
184 FC(2); FD(2); FE(2); FT(2); FA(2); FB(2); FC(2); FD(2); FE(2); FT(2); in sha_transform()
185 FA(2); FB(2); FC(2); FD(2); FE(2); FT(2); FA(2); FB(2); FC(2); FD(2); in sha_transform()
186 FE(3); FT(3); FA(3); FB(3); FC(3); FD(3); FE(3); FT(3); FA(3); FB(3); in sha_transform()
187 FC(3); FD(3); FE(3); FT(3); FA(3); FB(3); FC(3); FD(3); FE(3); FT(3); in sha_transform()
188 FA(4); FB(4); FC(4); FD(4); FE(4); FT(4); FA(4); FB(4); FC(4); FD(4); in sha_transform()
189 FE(4); FT(4); FA(4); FB(4); FC(4); FD(4); FE(4); FT(4); FA(4); FB(4); in sha_transform()
/external/pdfium/testing/resources/
Dannotiter.in89 /FT /Tx
98 /FT /Tx
107 /FT /Tx
116 /FT /Tx
Dbug_572871.in43 /FT /Tx
59 /FT /Tx
Dbug_507316.in71 /FT /Tx
87 /FT /Tx
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp272 Constant *getOrBuildTrampolineFunction(FunctionType *FT, StringRef FName);
407 FunctionType *FT; in getCustomFunctionType() local
408 if (isa<PointerType>(*i) && (FT = dyn_cast<FunctionType>(cast<PointerType>( in getCustomFunctionType()
410 ArgTypes.push_back(getTrampolineFunctionType(FT)->getPointerTo()); in getCustomFunctionType()
537 FunctionType *FT = F->getFunctionType(); in buildWrapperFunction() local
558 unsigned n = FT->getNumParams(); in buildWrapperFunction()
562 if (FT->getReturnType()->isVoidTy()) in buildWrapperFunction()
571 Constant *DataFlowSanitizer::getOrBuildTrampolineFunction(FunctionType *FT, in getOrBuildTrampolineFunction() argument
573 FunctionType *FTT = getTrampolineFunctionType(FT); in getOrBuildTrampolineFunction()
581 for (unsigned N = FT->getNumParams(); N != 0; ++AI, --N) in getOrBuildTrampolineFunction()
[all …]
/external/llvm/lib/Target/Sparc/
DSparc.td103 // LEON 2 FT generic
106 // LEON 2 FT (AT697E)
113 // LEON 2 FT (AT697F)
119 // LEON 3 FT generic
122 // LEON 3 FT (UT699). Provides features for the UT699 processor
130 // LEON3 FT (GR712RC). Provides features for the GR712RC processor.
136 // LEON 4 FT generic
/external/pdfium/testing/resources/javascript/
Dbug_494057.in48 /FT /Tx
57 /FT /Tx
66 /FT /Tx
75 /FT /Tx
Dfield.in48 /FT /Tx
57 /FT /Tx
66 /FT /Tx
75 /FT /Tx
/external/spirv-llvm/lib/SPIRV/
DOCLTypeToSPIRV.cpp176 auto FT = F->getFunctionType(); in adaptFunction() local
177 FT = FunctionType::get(FT->getReturnType(), ArgTys, FT->isVarArg()); in adaptFunction()
178 addAdaptedType(F, FT); in adaptFunction()
286 auto FT = F->getFunctionType(); in adaptArgumentsByMetadata() local
287 auto PI = FT->param_begin(); in adaptArgumentsByMetadata()
/external/llvm/lib/IR/
DMangler.cpp161 FunctionType *FT = MSFunc->getFunctionType(); in getNameWithPrefix() local
164 (!FT->isVarArg() || FT->getNumParams() == 0 || in getNameWithPrefix()
165 (FT->getNumParams() == 1 && MSFunc->hasStructRetAttr()))) in getNameWithPrefix()
/external/clang/lib/AST/
DDeclPrinter.cpp484 const FunctionProtoType *FT = nullptr; in VisitFunctionDecl() local
486 FT = dyn_cast<FunctionProtoType>(AFT); in VisitFunctionDecl()
489 if (FT) { in VisitFunctionDecl()
497 if (FT->isVariadic()) { in VisitFunctionDecl()
511 if (FT) { in VisitFunctionDecl()
512 if (FT->isConst()) in VisitFunctionDecl()
514 if (FT->isVolatile()) in VisitFunctionDecl()
516 if (FT->isRestrict()) in VisitFunctionDecl()
519 switch (FT->getRefQualifier()) { in VisitFunctionDecl()
531 if (FT && FT->hasDynamicExceptionSpec()) { in VisitFunctionDecl()
[all …]
DMangle.cpp83 const FunctionType *FT = T->castAs<FunctionType>(); in getCallingConvMangling() local
85 CallingConv CC = FT->getCallConv(); in getCallingConvMangling()
164 const FunctionType *FT = FD->getType()->castAs<FunctionType>(); in mangleName() local
165 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FT); in mangleName()
/external/clang/utils/ABITest/
DABITestGen.py103 def writeFunction(self, i, FT): argument
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/swiftshader/third_party/LLVM/lib/Target/
DMangler.cpp217 FunctionType *FT = F->getFunctionType(); in getNameWithPrefix() local
220 (!FT->isVarArg() || FT->getNumParams() == 0 || in getNameWithPrefix()
221 (FT->getNumParams() == 1 && F->hasStructRetAttr()))) in getNameWithPrefix()
/external/llvm/examples/ModuleMaker/
DModuleMaker.cpp39 FunctionType *FT = in main() local
44 Function *F = Function::Create(FT, Function::ExternalLinkage, "main", M); in main()
/external/swiftshader/third_party/LLVM/examples/ModuleMaker/
DModuleMaker.cpp33 FunctionType *FT = in main() local
38 Function *F = Function::Create(FT, Function::ExternalLinkage, "main", M); in main()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp225 bool CodeGenTypes::isFuncTypeConvertible(const FunctionType *FT) { in isFuncTypeConvertible() argument
226 if (!isFuncParamTypeConvertible(FT->getReturnType())) in isFuncTypeConvertible()
229 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) in isFuncTypeConvertible()
312 const FunctionType *FT = cast<FunctionType>(QFT.getTypePtr()); in ConvertFunctionType() local
316 if (!isFuncTypeConvertible(FT)) { in ConvertFunctionType()
321 if (const RecordType *RT = FT->getReturnType()->getAs<RecordType>()) in ConvertFunctionType()
323 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) in ConvertFunctionType()
345 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) { in ConvertFunctionType()
349 const FunctionNoProtoType *FNPT = cast<FunctionNoProtoType>(FT); in ConvertFunctionType()
/external/llvm/unittests/IR/
DWaymarkTest.cpp29 FunctionType *FT = FunctionType::get(Type::getVoidTy(Context), true); in TEST() local
31 Function::Create(FT, GlobalValue::ExternalLinkage)); in TEST()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1010 FunctionType *FT = Callee->getFunctionType(); in transformConstExprCastCall() local
1012 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall()
1054 unsigned NumCommonArgs = std::min(FT->getNumParams(), NumActualArgs); in transformConstExprCastCall()
1058 Type *ParamTy = FT->getParamType(i); in transformConstExprCastCall()
1093 if (FT->getNumParams() < NumActualArgs && !FT->isVarArg()) in transformConstExprCastCall()
1100 if (FT->isVarArg()!=cast<FunctionType>(APTy->getElementType())->isVarArg()) in transformConstExprCastCall()
1104 if (FT->getNumParams() < NumActualArgs && FT->isVarArg() && in transformConstExprCastCall()
1110 if (CallerPAL.getSlot(i - 1).Index <= FT->getNumParams()) in transformConstExprCastCall()
1138 Type *ParamTy = FT->getParamType(i); in transformConstExprCastCall()
1154 for (unsigned i = NumCommonArgs; i != FT->getNumParams(); ++i) in transformConstExprCastCall()
[all …]
/external/lzma/C/
DAes.c116 #define FT(i, x) Sbox[gb ## x(m[(i + x) & 3])] macro
117 #define FT4(i) dest[i] = Ui32(FT(i, 0), FT(i, 1), FT(i, 2), FT(i, 3)) ^ w[i];
/external/clang/lib/Sema/
DSemaExceptionSpec.cpp895 const FunctionProtoType *FT; in canCalleeThrow() local
896 if ((FT = T->getAs<FunctionProtoType>())) { in canCalleeThrow()
898 FT = PT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
900 FT = RT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
902 FT = MT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
904 FT = BT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
906 if (!FT) in canCalleeThrow()
909 FT = S.ResolveExceptionSpec(E->getLocStart(), FT); in canCalleeThrow()
910 if (!FT) in canCalleeThrow()
913 return FT->isNothrow(S.Context) ? CT_Cannot : CT_Can; in canCalleeThrow()

1234567