Home
last modified time | relevance | path

Searched refs:ArgsTy (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.h39 template <typename... ArgsTy>
40 static bool runPass(bool (*Transform)(VPlan &, ArgsTy...), VPlan &Plan, in runPass()
41 typename std::remove_reference<ArgsTy>::type &...Args) { in runPass()
49 template <typename... ArgsTy>
50 static void runPass(void (*Fn)(VPlan &, ArgsTy...), VPlan &Plan, in runPass()
51 typename std::remove_reference<ArgsTy>::type &...Args) { in runPass()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h48 template <typename... ArgsTy>
51 Type *RetTy, ArgsTy... Args) { in getOrInsertLibFunc()
52 SmallVector<Type*, sizeof...(ArgsTy)> ArgTys{Args...}; in getOrInsertLibFunc()
58 template <typename... ArgsTy>
60 LibFunc TheLibFunc, Type *RetTy, ArgsTy... Args) { in getOrInsertLibFunc()
65 template <typename... ArgsTy>
69 FunctionType *Invalid, ArgsTy... Args) = delete;
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringMap.h368 template <typename... ArgsTy>
369 std::pair<iterator, bool> try_emplace(StringRef Key, ArgsTy &&...Args) { in try_emplace()
370 return try_emplace_with_hash(Key, hash(Key), std::forward<ArgsTy>(Args)...); in try_emplace()
373 template <typename... ArgsTy>
376 ArgsTy &&...Args) { in try_emplace_with_hash()
386 MapEntryTy::create(Key, getAllocator(), std::forward<ArgsTy>(Args)...); in try_emplace_with_hash()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h395 template <typename... ArgsTy>
398 ArgsTy... Args) { in getOrInsertFunction()
399 SmallVector<Type*, sizeof...(ArgsTy)> ArgTys{Args...}; in getOrInsertFunction()
406 template <typename... ArgsTy>
408 ArgsTy... Args) { in getOrInsertFunction()
413 template <typename... ArgsTy>
416 FunctionType *Invalid, ArgsTy... Args) = delete;
H A DInstrTypes.h1133 template <class... ArgsTy>
1134 CallBase(AttributeList const &A, FunctionType *FT, ArgsTy &&... Args)
1135 : Instruction(std::forward<ArgsTy>(Args)...), Attrs(A), FTy(FT) {}
H A DIntrinsicsNVVM.td695 list<LLVMType> ArgsTy = !if(sync,
1785 def i.Name : NVVMBuiltin, Intrinsic<i.RetTy, i.ArgsTy>;
1787 def i.Name : Intrinsic<i.RetTy, i.ArgsTy>;
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DGenericLoopInfo.h570 template <typename... ArgsTy> LoopT *AllocateLoop(ArgsTy &&...Args) { in AllocateLoop()
572 return new (Storage) LoopT(std::forward<ArgsTy>(Args)...); in AllocateLoop()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMustExecute.cpp403 template <typename K, typename V, typename FnTy, typename... ArgsTy>
405 FnTy &&Fn, ArgsTy &&...args) { in getOrCreateCachedOptional()
408 OptVal = Fn(std::forward<ArgsTy>(args)...); in getOrCreateCachedOptional()
/freebsd/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp134 Type* ArgsTy[] = { in GenEmptyFunction() local
143 auto *FuncTy = FunctionType::get(Type::getVoidTy(Context), ArgsTy, false); in GenEmptyFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp623 template <typename... ArgsTy>
625 ArgsTy... Args);
821 template <typename... ArgsTy>
824 ArgsTy... Args) { in getOrInsertMsanMetadataFunction()
828 std::forward<ArgsTy>(Args)...); in getOrInsertMsanMetadataFunction()
832 std::forward<ArgsTy>(Args)...); in getOrInsertMsanMetadataFunction()
1841 template <typename... ArgsTy>
1843 ArgsTy... Args) { in createMetadataCall()
1846 {MS.MsanMetadataAlloca, std::forward<ArgsTy>(Args)...}); in createMetadataCall()
1850 return IRB.CreateCall(Callee, {std::forward<ArgsTy>(Args)...}); in createMetadataCall()