Home
last modified time | relevance | path

Searched refs:FuncTy (Results 1 – 25 of 30) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DParallel.h90 template <class IterTy, class FuncTy>
91 void parallel_for_each(IterTy Begin, IterTy End, FuncTy Fn) { in parallel_for_each()
95 template <class IndexTy, class FuncTy>
96 void parallel_for_each_n(IndexTy Begin, IndexTy End, FuncTy Fn) { in parallel_for_each_n()
150 template <class IterTy, class FuncTy>
151 void parallel_for_each(IterTy Begin, IterTy End, FuncTy Fn) { in parallel_for_each()
168 template <class IndexTy, class FuncTy>
169 void parallel_for_each_n(IndexTy Begin, IndexTy End, FuncTy Fn) { in parallel_for_each_n()
206 template <class Policy, class IterTy, class FuncTy>
207 void for_each(Policy policy, IterTy Begin, IterTy End, FuncTy Fn) { in for_each()
[all …]
/external/clang/test/CodeGen/
Dattr-no-tail.c21 typedef int (*FuncTy)(int); typedef
29 FuncTy F = callee1; in foo0()
/external/llvm/include/llvm/CodeGen/
DFastISel.h98 CallLoweringInfo &setCallee(Type *ResultTy, FunctionType *FuncTy, in setCallee()
106 IsVarArg = FuncTy->isVarArg(); in setCallee()
113 NumFixedArgs = FuncTy->getNumParams(); in setCallee()
120 CallLoweringInfo &setCallee(Type *ResultTy, FunctionType *FuncTy,
130 IsVarArg = FuncTy->isVarArg();
137 NumFixedArgs = (FixedArgs == ~0U) ? FuncTy->getNumParams() : FixedArgs;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DFastISel.h105 CallLoweringInfo &setCallee(Type *ResultTy, FunctionType *FuncTy, in setCallee()
113 IsVarArg = FuncTy->isVarArg(); in setCallee()
120 NumFixedArgs = FuncTy->getNumParams(); in setCallee()
127 CallLoweringInfo &setCallee(Type *ResultTy, FunctionType *FuncTy,
137 IsVarArg = FuncTy->isVarArg();
144 NumFixedArgs = (FixedArgs == ~0U) ? FuncTy->getNumParams() : FixedArgs;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyMCInstLower.cpp38 if (const auto *FuncTy = dyn_cast<FunctionType>(Global->getValueType())) { in GetGlobalAddressSymbol() local
52 ComputeLegalValueVTs(CurrentFunc, TM, FuncTy->getReturnType(), ResultMVTs); in GetGlobalAddressSymbol()
60 for (Type *Ty : FuncTy->params()) { in GetGlobalAddressSymbol()
67 if (FuncTy->isVarArg()) in GetGlobalAddressSymbol()
DWebAssemblyFastISel.cpp740 FunctionType *FuncTy = Call->getFunctionType(); in selectCall() local
742 bool IsVoid = FuncTy->getReturnType()->isVoidTy(); in selectCall()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DSTLExtras.h129 template <class ItTy, class FuncTy>
130 inline mapped_iterator<ItTy, FuncTy> map_iterator(const ItTy &I, FuncTy F) { in map_iterator()
131 return mapped_iterator<ItTy, FuncTy>(I, F); in map_iterator()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DWasmObjectWriter.cpp82 WasmFunctionType FuncTy; in getEmptyKey() local
83 FuncTy.State = WasmFunctionType::Empty; in getEmptyKey()
84 return FuncTy; in getEmptyKey()
87 WasmFunctionType FuncTy; in getTombstoneKey() local
88 FuncTy.State = WasmFunctionType::Tombstone; in getTombstoneKey()
89 return FuncTy; in getTombstoneKey()
91 static unsigned getHashValue(const WasmFunctionType &FuncTy) { in getHashValue()
92 uintptr_t Value = FuncTy.State; in getHashValue()
93 for (wasm::ValType Ret : FuncTy.Returns) in getHashValue()
95 for (wasm::ValType Param : FuncTy.Params) in getHashValue()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULibFunc.h437 FunctionType *FuncTy; variable
443 FuncTy = FT; in AMDGPUUnmangledLibFunc()
447 FunctionType *getFunctionType(Module &M) const override { return FuncTy; } in getFunctionType()
456 void setFunctionType(FunctionType *FT) { FuncTy = FT; } in setFunctionType()
DAMDGPULibFunc.cpp533 FuncTy = nullptr; in AMDGPUUnmangledLibFunc()
977 FunctionType *FuncTy = fInfo.getFunctionType(*M); in getOrInsertFunction() local
981 PI = FuncTy->param_begin(), in getOrInsertFunction()
982 PE = FuncTy->param_end(); in getOrInsertFunction()
994 C = M->getOrInsertFunction(FuncName, FuncTy); in getOrInsertFunction()
1000 C = M->getOrInsertFunction(FuncName, FuncTy, Attr); in getOrInsertFunction()
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/
DJITTest.cpp329 FunctionType *FuncTy = FunctionType::get( in TEST_F() local
333 Function *Func2 = Function::Create(FuncTy, Function::InternalLinkage, in TEST_F()
335 Function *Func3 = Function::Create(FuncTy, Function::InternalLinkage, in TEST_F()
382 FunctionType *FuncTy = in TEST_F() local
384 Function *Func1 = Function::Create(FuncTy, Function::ExternalLinkage, in TEST_F()
386 Function *Func2 = Function::Create(FuncTy, Function::InternalLinkage, in TEST_F()
/external/llvm/include/llvm/ADT/
DSTLExtras.h198 template <class ItTy, class FuncTy>
199 inline mapped_iterator<ItTy, FuncTy> map_iterator(const ItTy &I, FuncTy F) { in map_iterator()
200 return mapped_iterator<ItTy, FuncTy>(I, F); in map_iterator()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DSTLExtras.h200 template <typename ItTy, typename FuncTy,
202 decltype(std::declval<FuncTy>()(*std::declval<ItTy>()))>
205 mapped_iterator<ItTy, FuncTy>, ItTy,
209 mapped_iterator(ItTy U, FuncTy F)
217 FuncTy F;
222 template <class ItTy, class FuncTy>
223 inline mapped_iterator<ItTy, FuncTy> map_iterator(ItTy I, FuncTy F) {
224 return mapped_iterator<ItTy, FuncTy>(std::move(I), std::move(F));
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestBase.h119 FunctionType *FuncTy) { in insertExternalReferenceToFunction() argument
120 Function *Result = Function::Create(FuncTy, in insertExternalReferenceToFunction()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestBase.h119 FunctionType *FuncTy) { in insertExternalReferenceToFunction() argument
120 Function *Result = Function::Create(FuncTy, in insertExternalReferenceToFunction()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSTLExtras.h212 template <class ItTy, class FuncTy>
213 inline mapped_iterator<ItTy, FuncTy> map_iterator(const ItTy &I, FuncTy F) { in map_iterator()
214 return mapped_iterator<ItTy, FuncTy>(I, F); in map_iterator()
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVUtil.h430 template<typename MapTy, typename FuncTy>
435 FuncTy Func){ in getOrInsert()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-stress/
Dllvm-stress.cpp167 auto *FuncTy = FunctionType::get(Type::getVoidTy(Context), ArgsTy, false); in GenEmptyFunction() local
170 auto *Func = Function::Create(FuncTy, GlobalValue::ExternalLinkage, Name, M); in GenEmptyFunction()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp133 auto *FuncTy = FunctionType::get(Type::getVoidTy(Context), ArgsTy, false); in GenEmptyFunction() local
136 auto *Func = Function::Create(FuncTy, GlobalValue::ExternalLinkage, Name, M); in GenEmptyFunction()
/external/swiftshader/third_party/LLVM/tools/bugpoint/
DMiscompilation.cpp850 FunctionType *FuncTy = F->getFunctionType(); in CleanupAndPrepareModules() local
851 Function *FuncWrapper = Function::Create(FuncTy, in CleanupAndPrepareModules()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp71 auto *FuncTy = CI->getFunctionType(); in isCallingConvCCompatible() local
73 if (!FuncTy->getReturnType()->isPointerTy() && in isCallingConvCCompatible()
74 !FuncTy->getReturnType()->isIntegerTy() && in isCallingConvCCompatible()
75 !FuncTy->getReturnType()->isVoidTy()) in isCallingConvCCompatible()
78 for (auto Param : FuncTy->params()) { in isCallingConvCCompatible()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/
DMiscompilation.cpp870 FunctionType *FuncTy = F->getFunctionType(); in CleanupAndPrepareModules() local
872 Function::Create(FuncTy, GlobalValue::InternalLinkage, in CleanupAndPrepareModules()
/external/llvm/tools/bugpoint/
DMiscompilation.cpp858 FunctionType *FuncTy = F->getFunctionType(); in CleanupAndPrepareModules() local
859 Function *FuncWrapper = Function::Create(FuncTy, in CleanupAndPrepareModules()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyFastISel.cpp634 FunctionType *FuncTy = Call->getFunctionType(); in selectCall() local
637 bool IsVoid = FuncTy->getReturnType()->isVoidTy(); in selectCall()
/external/llvm/tools/sancov/
Dsancov.cc167 template <class RangeTy, class FuncTy>
168 static inline auto group_by(const RangeTy &R, FuncTy F) in group_by()

12