Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DTrailingObjects.h221 template <typename... Tys> class Foo {};
311 template <typename... Tys>
313 std::is_same_v<Foo<TrailingTys...>, Foo<Tys...>>, size_t>
323 template <typename... Tys>
325 std::is_same_v<Foo<TrailingTys...>, Foo<Tys...>>, size_t>
352 template <typename... Tys> struct FixedSizeStorage {
354 enum { Size = totalSizeToAlloc<Tys...>(Counts...) };
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DLLVMContext.h343 inline LLVMContext **unwrap(LLVMContextRef* Tys) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
344 return reinterpret_cast<LLVMContext**>(Tys); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
347 inline LLVMContextRef *wrap(const LLVMContext **Tys) { in wrap() argument
348 return reinterpret_cast<LLVMContextRef*>(const_cast<LLVMContext**>(Tys)); in wrap()
H A DIntrinsics.h67 std::string getName(ID Id, ArrayRef<Type *> Tys, Module *M,
73 std::string getNameNoUnnamedTypes(ID Id, ArrayRef<Type *> Tys);
77 ArrayRef<Type *> Tys = std::nullopt);
93 ArrayRef<Type *> Tys = std::nullopt);
H A DDerivedTypes.h249 template <class... Tys>
250 static std::enable_if_t<are_base_of<Type, Tys...>::value, StructType *>
251 create(StringRef Name, Type *elt1, Tys *... elts) { in create()
266 template <class... Tys>
267 static std::enable_if_t<are_base_of<Type, Tys...>::value, StructType *>
268 get(Type *elt1, Tys *... elts) { in get()
318 template <typename... Tys>
319 std::enable_if_t<are_base_of<Type, Tys...>::value, void>
320 setBody(Type *elt1, Tys *... elts) { in setBody()
H A DType.h518 inline Type **unwrap(LLVMTypeRef* Tys) {
519 return reinterpret_cast<Type**>(Tys);
522 inline LLVMTypeRef *wrap(Type **Tys) {
523 return reinterpret_cast<LLVMTypeRef*>(const_cast<Type**>(Tys));
H A DVerifier.h43 template <typename... Tys> void CheckFailed(Tys &&... Args);
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeStmtGen.h38 template<typename... Tys>
39 ByteCodeStmtGen(Tys&&... Args) in ByteCodeStmtGen()
40 : ByteCodeExprGen<Emitter>(std::forward<Tys>(Args)...) {} in ByteCodeStmtGen()
H A DByteCodeEmitter.h91 template <typename... Tys>
92 bool emitOp(Opcode Op, const Tys &... Args, const SourceInfo &L);
H A DInterpStack.h34 template <typename T, typename... Tys> void push(Tys &&... Args) { in push()
35 new (grow(aligned_size<T>())) T(std::forward<Tys>(Args)...); in push()
H A DProgram.h181 template <typename... Tys>
182 Global(Tys... Args) : B(std::forward<Tys>(Args)...) {} in Global()
H A DByteCodeEmitter.cpp231 template <typename... Tys>
232 bool ByteCodeEmitter::emitOp(Opcode Op, const Tys &... Args, const SourceInfo &SI) { in emitOp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp1030 for (Type *Ty : Tys) in getIntrinsicNameImpl()
1358 return Tys[D.getArgumentNumber()]; in DecodeFixedType()
1360 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
1367 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
1377 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
1388 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
1394 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
1400 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
1407 return Tys[D.getOverloadArgNumber()]; in DecodeFixedType()
1447 auto *FT = getType(M->getContext(), id, Tys); in getDeclaration()
[all …]
H A DIRBuilder.cpp142 Type *Tys[] = { Ptr->getType(), Size->getType() }; in CreateMemSet() local
170 Type *Tys[] = {Dst->getType(), Size->getType()}; in CreateMemSetInline() local
197 Type *Tys[] = {Ptr->getType(), Size->getType()}; in CreateElementUnorderedAtomicMemSet() local
200 M, Intrinsic::memset_element_unordered_atomic, Tys); in CreateElementUnorderedAtomicMemSet()
229 Function *TheFn = Intrinsic::getDeclaration(M, IntrID, Tys); in CreateMemTransferInst()
265 Type *Tys[] = {Dst->getType(), Src->getType(), Size->getType()}; in CreateElementUnorderedAtomicMemCpy() local
268 M, Intrinsic::memcpy_element_unordered_atomic, Tys); in CreateElementUnorderedAtomicMemCpy()
381 Type *Tys[] = {Dst->getType(), Src->getType(), Size->getType()}; in CreateElementUnorderedAtomicMemMove() local
384 M, Intrinsic::memmove_element_unordered_atomic, Tys); in CreateElementUnorderedAtomicMemMove()
412 Type *Tys[] = { Src->getType() }; in getReductionIntrinsic() local
[all …]
/freebsd-14.2/contrib/llvm-project/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,
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DGlobalMerge.cpp466 std::vector<Type*> Tys; in doMerge() local
486 Tys.push_back(ArrayType::get(Int8Ty, Padding)); in doMerge()
487 Inits.push_back(ConstantAggregateZero::get(Tys.back())); in doMerge()
490 Tys.push_back(Ty); in doMerge()
503 if (Tys.size() < 2) { in doMerge()
514 StructType *MergedTy = StructType::get(M.getContext(), Tys, true); in doMerge()
563 GlobalAlias *GA = GlobalAlias::create(Tys[StructIdxs[idx]], AddrSpace, in doMerge()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h802 ArrayRef<Type *> Tys, in getOperandsScalarizationOverhead() argument
811 Type *Ty = Tys[I]; in getOperandsScalarizationOverhead()
953 SmallVector<Type *> Tys(Args.size(), Ty);
1818 if (!Tys.empty()) { in getTypeBasedIntrinsicInstrCost()
1826 VecOpTy = dyn_cast<VectorType>(Tys[VecTyIndex]); in getTypeBasedIntrinsicInstrCost()
1855 Type *Ty = Tys[i]; in getTypeBasedIntrinsicInstrCost()
1972 Type *Ty = Tys[0]; in getTypeBasedIntrinsicInstrCost()
2196 if (Tys.empty()) in getTypeBasedIntrinsicInstrCost()
2198 Type *FromTy = Tys[0]; in getTypeBasedIntrinsicInstrCost()
2298 Type *Ty = Tys[i]; in getTypeBasedIntrinsicInstrCost()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp130 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemset() local
132 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops); in EmitTargetCodeForMemset()
170 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in emitRepmovs() local
172 return DAG.getNode(X86ISD::REP_MOVS, dl, Tys, Ops); in emitRepmovs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp86 ArrayRef<Type *> Tys, in IntrinsicCostAttributes() argument
91 ParamTys.insert(ParamTys.begin(), Tys.begin(), Tys.end()); in IntrinsicCostAttributes()
106 ArrayRef<Type *> Tys, in IntrinsicCostAttributes() argument
111 ParamTys.insert(ParamTys.begin(), Tys.begin(), Tys.end()); in IntrinsicCostAttributes()
576 ArrayRef<const Value *> Args, ArrayRef<Type *> Tys, in getOperandsScalarizationOverhead() argument
578 return TTIImpl->getOperandsScalarizationOverhead(Args, Tys, CostKind); in getOperandsScalarizationOverhead()
1065 ArrayRef<Type *> Tys, in getCallInstrCost() argument
1067 InstructionCost Cost = TTIImpl->getCallInstrCost(F, RetTy, Tys, CostKind); in getCallInstrCost()
1126 TargetTransformInfo::getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) const { in getCostOfKeepingLiveOverCall()
1127 return TTIImpl->getCostOfKeepingLiveOverCall(Tys); in getCostOfKeepingLiveOverCall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp150 ArrayRef<Type *> Tys, in getOperandsScalarizationOverhead() argument
152 return BaseT::getOperandsScalarizationOverhead(Args, Tys, CostKind); in getOperandsScalarizationOverhead()
156 ArrayRef<Type *> Tys, in getCallInstrCost() argument
158 return BaseT::getCallInstrCost(F, RetTy, Tys, CostKind); in getCallInstrCost()
H A DHexagonTargetTransformInfo.h112 ArrayRef<Type *> Tys,
115 ArrayRef<Type *> Tys,
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp7310 SmallVector<llvm::Type *, 3> Tys; in LookupNeonLLVMIntrinsic() local
7317 Tys.push_back(Ty); in LookupNeonLLVMIntrinsic()
7327 Tys.push_back(ArgType); in LookupNeonLLVMIntrinsic()
7330 Tys.push_back(ArgType); in LookupNeonLLVMIntrinsic()
7333 Tys.push_back(FloatTy); in LookupNeonLLVMIntrinsic()
7802 llvm::Type *Tys[2] = { in EmitCommonNeonBuiltinExpr() local
7811 llvm::Type *Tys[2] = { in EmitCommonNeonBuiltinExpr() local
8077 llvm::Type *Tys[1] = { Ty }; in EmitCommonNeonBuiltinExpr() local
9176 Tys.push_back(VecLType); in EmitARMMVEBuiltinExpr()
9216 Tys.push_back(VecLType); in EmitARMMVEBuiltinExpr()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp679 SmallVector<llvm::Type *, 3> Tys; in splitCall() local
682 Tys.push_back(VS->SplitTy); in splitCall()
705 OverloadIdx[I] = Tys.size(); in splitCall()
706 Tys.push_back(OpVS->SplitTy); in splitCall()
711 Tys.push_back(OpI->getType()); in splitCall()
718 Function *NewIntrin = Intrinsic::getDeclaration(F->getParent(), ID, Tys); in splitCall()
727 Tys[0] = VS->RemainderTy; in splitCall()
735 Tys[OverloadIdx[J]] = Scattered[J][I]->getType(); in splitCall()
740 NewIntrin = Intrinsic::getDeclaration(F->getParent(), ID, Tys); in splitCall()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h138 Intrinsic::ID Id, Type *RTy, ArrayRef<Type *> Tys,
147 ArrayRef<Type *> Tys, FastMathFlags Flags = FastMathFlags(),
876 ArrayRef<Type *> Tys,
1495 Function *F, Type *RetTy, ArrayRef<Type *> Tys,
1878 ArrayRef<Type *> Tys,
2049 ArrayRef<Type *> Tys,
2055 getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) = 0;
2401 ArrayRef<Type *> Tys, in getOperandsScalarizationOverhead() argument
2710 ArrayRef<Type *> Tys, in getCallInstrCost() argument
2712 return Impl.getCallInstrCost(F, RetTy, Tys, CostKind); in getCallInstrCost()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp541 SmallVector<Type *> Tys(Args.size(), Ty); in getArithmeticInstrCost() local
543 getScalarizationOverhead(VTy, Args, Tys, CostKind); in getArithmeticInstrCost()
567 SmallVector<Type *> Tys(Args.size(), Ty); in getArithmeticInstrCost() local
570 getScalarizationOverhead(VTy, Args, Tys, CostKind); in getArithmeticInstrCost()
587 SmallVector<Type *> Tys(Args.size(), Ty); in getArithmeticInstrCost() local
589 getScalarizationOverhead(VTy, Args, Tys, CostKind); in getArithmeticInstrCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp1000 SmallVector<Type *, 3> Tys; in remapInstruction() local
1002 Tys.reserve(FTy->getNumParams()); in remapInstruction()
1004 Tys.push_back(TypeMapper->remapType(Ty)); in remapInstruction()
1006 TypeMapper->remapType(I->getType()), Tys, FTy->isVarArg())); in remapInstruction()
1082 Type *Tys[3] = {ST.getElementType(0), ST.getElementType(1), VoidPtrTy}; in mapAppendingVariable() local
1083 EltTy = StructType::get(GV.getContext(), Tys, false); in mapAppendingVariable()

123