Home
last modified time | relevance | path

Searched refs:Tys (Results 1 – 25 of 58) sorted by relevance

123

/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DTrailingObjects.h221 template <typename... Tys> class Foo {};
311 template <typename... Tys>
313 std::is_same<Foo<TrailingTys...>, Foo<Tys...>>::value, size_t>
323 template <typename... Tys>
325 std::is_same<Foo<TrailingTys...>, Foo<Tys...>>::value, size_t>
352 template <typename... Tys> struct FixedSizeStorage {
354 enum { Size = totalSizeToAlloc<Tys...>(Counts...) };
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DByteCodeStmtGen.h43 template<typename... Tys>
44 ByteCodeStmtGen(Tys&&... Args) in ByteCodeStmtGen()
45 : ByteCodeExprGen<Emitter>(std::forward<Tys>(Args)...) {} in ByteCodeStmtGen()
H A DInterpStack.h30 template <typename T, typename... Tys> void push(Tys &&... Args) { in push()
31 new (grow(aligned_size<T>())) T(std::forward<Tys>(Args)...); in push()
H A DProgram.h163 template <typename... Tys>
164 Global(Tys... Args) : B(std::forward<Tys>(Args)...) {} in Global()
H A DByteCodeEmitter.h100 template <typename... Tys>
101 bool emitOp(Opcode Op, const Tys &... Args, const SourceInfo &L);
H A DByteCodeEmitter.cpp155 template <typename... Tys>
156 bool ByteCodeEmitter::emitOp(Opcode Op, const Tys &... Args, const SourceInfo &SI) { in emitOp()
/llvm-project-15.0.7/llvm/lib/IR/
H A DFunction.cpp902 for (Type *Ty : Tys) in getIntrinsicNameImpl()
1308 return Tys[D.getArgumentNumber()]; in DecodeFixedType()
1310 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
1317 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
1327 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
1338 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
1344 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
1348 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
1356 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
1369 return Tys[D.getOverloadArgNumber()]; in DecodeFixedType()
[all …]
H A DIRBuilder.cpp145 Type *Tys[] = { Ptr->getType(), Size->getType() }; in CreateMemSet() local
174 Type *Tys[] = {Dst->getType(), Size->getType()}; in CreateMemSetInline() local
202 Type *Tys[] = {Ptr->getType(), Size->getType()}; in CreateElementUnorderedAtomicMemSet() local
205 M, Intrinsic::memset_element_unordered_atomic, Tys); in CreateElementUnorderedAtomicMemSet()
234 Function *TheFn = Intrinsic::getDeclaration(M, IntrID, Tys); in CreateMemTransferInst()
269 Type *Tys[] = {Dst->getType(), Src->getType(), Size->getType()}; in CreateMemCpyInline() local
311 Type *Tys[] = {Dst->getType(), Src->getType(), Size->getType()}; in CreateElementUnorderedAtomicMemCpy() local
314 M, Intrinsic::memcpy_element_unordered_atomic, Tys); in CreateElementUnorderedAtomicMemCpy()
389 M, Intrinsic::memmove_element_unordered_atomic, Tys); in CreateElementUnorderedAtomicMemMove()
418 Type *Tys[] = { Src->getType() }; in getReductionIntrinsic() local
[all …]
H A DAutoUpgrade.cpp592 Type *Tys[] = {fArgs[0], fArgs[1]}; in UpgradeIntrinsicFunction1() local
657 std::array<Type *, 2> Tys {{ in UpgradeIntrinsicFunction1() local
688 std::array<Type *, 0> Tys; in UpgradeIntrinsicFunction1() local
762 Type *Tys[] = {Args[0], Args[1]}; in UpgradeIntrinsicFunction1() local
804 Type *Tys[] = {Args[1]}; in UpgradeIntrinsicFunction1() local
860 Tys); in UpgradeIntrinsicFunction1()
866 Type *Tys[] = { Args[0], Args[1] }; in UpgradeIntrinsicFunction1() local
872 Tys); in UpgradeIntrinsicFunction1()
890 Type *Tys[] = {Args[0], Args[1]}; in UpgradeIntrinsicFunction1() local
977 Tys); in UpgradeIntrinsicFunction1()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DLLVMContext.h347 inline LLVMContext **unwrap(LLVMContextRef* Tys) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
348 return reinterpret_cast<LLVMContext**>(Tys); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
351 inline LLVMContextRef *wrap(const LLVMContext **Tys) { in wrap() argument
352 return reinterpret_cast<LLVMContextRef*>(const_cast<LLVMContext**>(Tys)); in wrap()
H A DIntrinsics.h68 std::string getName(ID Id, ArrayRef<Type *> Tys, Module *M,
74 std::string getNameNoUnnamedTypes(ID Id, ArrayRef<Type *> Tys);
78 ArrayRef<Type*> Tys = None);
98 Function *getDeclaration(Module *M, ID id, ArrayRef<Type*> Tys = None);
H A DDerivedTypes.h244 template <class... Tys>
245 static std::enable_if_t<are_base_of<Type, Tys...>::value, StructType *>
246 create(StringRef Name, Type *elt1, Tys *... elts) { in create()
261 template <class... Tys>
262 static std::enable_if_t<are_base_of<Type, Tys...>::value, StructType *>
263 get(Type *elt1, Tys *... elts) { in get()
304 template <typename... Tys>
305 std::enable_if_t<are_base_of<Type, Tys...>::value, void>
306 setBody(Type *elt1, Tys *... elts) { in setBody()
H A DType.h507 inline Type **unwrap(LLVMTypeRef* Tys) {
508 return reinterpret_cast<Type**>(Tys);
511 inline LLVMTypeRef *wrap(Type **Tys) {
512 return reinterpret_cast<LLVMTypeRef*>(const_cast<Type**>(Tys));
H A DVerifier.h43 template <typename... Tys> void CheckFailed(Tys &&... Args);
/llvm-project-15.0.7/llvm/include/llvm/Target/
H A DTargetIntrinsicInfo.h42 virtual std::string getName(unsigned IID, Type **Tys = nullptr,
62 virtual Function *getDeclaration(Module *M, unsigned ID, Type **Tys = nullptr,
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DInjectTLIMappings.cpp48 SmallVector<Type *, 4> Tys; in addVariantDeclaration() local
50 Tys.push_back(ToVectorTy(ArgOperand->getType(), VF)); in addVariantDeclaration()
53 FunctionType *FTy = FunctionType::get(RetTy, Tys, /*isVarArg=*/false); in addVariantDeclaration()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DGlobalMerge.cpp454 std::vector<Type*> Tys; in doMerge() local
474 Tys.push_back(ArrayType::get(Int8Ty, Padding)); in doMerge()
475 Inits.push_back(ConstantAggregateZero::get(Tys.back())); in doMerge()
478 Tys.push_back(Ty); in doMerge()
491 if (Tys.size() < 2) { in doMerge()
502 StructType *MergedTy = StructType::get(M.getContext(), Tys, true); in doMerge()
551 GlobalAlias *GA = GlobalAlias::create(Tys[StructIdxs[idx]], AddrSpace, in doMerge()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h750 Type *Ty = Tys[I]; in getOperandsScalarizationOverhead()
857 SmallVector<Type *> Tys(Args.size(), Ty);
858 return getScalarizationOverhead(VTy, Args, Tys) +
1627 if (!Tys.empty()) { in getTypeBasedIntrinsicInstrCost()
1635 VecOpTy = dyn_cast<VectorType>(Tys[VecTyIndex]); in getTypeBasedIntrinsicInstrCost()
1663 Type *Ty = Tys[i]; in getTypeBasedIntrinsicInstrCost()
1770 Type *Ty = Tys[0]; in getTypeBasedIntrinsicInstrCost()
1979 if (Tys.empty()) in getTypeBasedIntrinsicInstrCost()
1981 Type *FromTy = Tys[0]; in getTypeBasedIntrinsicInstrCost()
2080 Type *Ty = Tys[i]; in getTypeBasedIntrinsicInstrCost()
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp76 ArrayRef<Type *> Tys, in IntrinsicCostAttributes() argument
81 ParamTys.insert(ParamTys.begin(), Tys.begin(), Tys.end()); in IntrinsicCostAttributes()
96 ArrayRef<Type *> Tys, in IntrinsicCostAttributes() argument
101 ParamTys.insert(ParamTys.begin(), Tys.begin(), Tys.end()); in IntrinsicCostAttributes()
519 ArrayRef<const Value *> Args, ArrayRef<Type *> Tys) const { in getOperandsScalarizationOverhead()
520 return TTIImpl->getOperandsScalarizationOverhead(Args, Tys); in getOperandsScalarizationOverhead()
932 ArrayRef<Type *> Tys, in getCallInstrCost() argument
934 InstructionCost Cost = TTIImpl->getCallInstrCost(F, RetTy, Tys, CostKind); in getCallInstrCost()
983 TargetTransformInfo::getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) const { in getCostOfKeepingLiveOverCall()
984 return TTIImpl->getCostOfKeepingLiveOverCall(Tys); in getCostOfKeepingLiveOverCall()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp131 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemset() local
133 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops); in EmitTargetCodeForMemset()
171 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in emitRepmovs() local
173 return DAG.getNode(X86ISD::REP_MOVS, dl, Tys, Ops); in emitRepmovs()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp133 ArrayRef<Type *> Tys) { in getOperandsScalarizationOverhead() argument
134 return BaseT::getOperandsScalarizationOverhead(Args, Tys); in getOperandsScalarizationOverhead()
138 ArrayRef<Type *> Tys, in getCallInstrCost() argument
140 return BaseT::getCallInstrCost(F, RetTy, Tys, CostKind); in getCallInstrCost()
H A DHexagonTargetTransformInfo.h111 ArrayRef<Type *> Tys);
113 ArrayRef<Type *> Tys,
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBuiltin.cpp6456 SmallVector<llvm::Type *, 3> Tys; in LookupNeonLLVMIntrinsic() local
6463 Tys.push_back(Ty); in LookupNeonLLVMIntrinsic()
6473 Tys.push_back(ArgType); in LookupNeonLLVMIntrinsic()
6476 Tys.push_back(ArgType); in LookupNeonLLVMIntrinsic()
6479 Tys.push_back(FloatTy); in LookupNeonLLVMIntrinsic()
6948 llvm::Type *Tys[2] = { in EmitCommonNeonBuiltinExpr() local
6957 llvm::Type *Tys[2] = { in EmitCommonNeonBuiltinExpr() local
7226 llvm::Type *Tys[1] = { Ty }; in EmitCommonNeonBuiltinExpr() local
8298 Tys.push_back(VecLType); in EmitARMMVEBuiltinExpr()
8338 Tys.push_back(VecLType); in EmitARMMVEBuiltinExpr()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DMatchers.h233 template <typename... Tys, typename CallbackT>
234 constexpr void enumerate(std::tuple<Tys...> &tuple, CallbackT &&callback) { in enumerate()
236 std::make_index_sequence<sizeof...(Tys)>{}); in enumerate()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h136 Intrinsic::ID Id, Type *RTy, ArrayRef<Type *> Tys,
145 ArrayRef<Type *> Tys, FastMathFlags Flags = FastMathFlags(),
1282 Function *F, Type *RetTy, ArrayRef<Type *> Tys,
1638 ArrayRef<Type *> Tys) = 0;
1783 ArrayRef<Type *> Tys,
1789 getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) = 0;
2096 ArrayRef<Type *> Tys) override { in getOperandsScalarizationOverhead() argument
2097 return Impl.getOperandsScalarizationOverhead(Args, Tys); in getOperandsScalarizationOverhead()
2353 ArrayRef<Type *> Tys, in getCallInstrCost() argument
2355 return Impl.getCallInstrCost(F, RetTy, Tys, CostKind); in getCallInstrCost()
[all …]

123