/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | TrailingObjects.h | 221 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/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | InjectTLIMappings.cpp | 47 SmallVector<Type *, 4> Tys; addVariantDeclaration() local
|
H A D | ValueMapper.cpp | 1010 SmallVector<Type *, 3> Tys; in remapInstruction() local 1012 Tys.reserve(FTy->getNumParams()); in remapInstruction() 1014 Tys.push_back(TypeMapper->remapType(Ty)); in remapInstruction() 1016 TypeMapper->remapType(I->getType()), Tys, FTy->isVarArg())); in remapInstruction() 1096 Type *Tys[3] = {ST.getElementType(0), ST.getElementType(1), VoidPtrTy}; in mapAppendingVariable() local 1097 EltTy = StructType::get(GV.getContext(), Tys, false); in mapAppendingVariable()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | LLVMContext.h | 363 inline LLVMContext **unwrap(LLVMContextRef* Tys) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 364 return reinterpret_cast<LLVMContext**>(Tys); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 367 inline LLVMContextRef *wrap(const LLVMContext **Tys) { in wrap() argument 368 return reinterpret_cast<LLVMContextRef*>(const_cast<LLVMContext**>(Tys)); in wrap()
|
H A D | Intrinsics.h | 67 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 D | DerivedTypes.h | 249 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 D | Type.h | 518 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 D | Verifier.h | 43 template <typename... Tys> void CheckFailed(Tys &&... Args);
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Function.cpp | 1078 static std::string getIntrinsicNameImpl(Intrinsic::ID Id, ArrayRef<Type *> Tys, in getIntrinsicNameImpl() argument 1083 assert((Tys.empty() || Intrinsic::isOverloaded(Id)) && in getIntrinsicNameImpl() 1087 !any_of(Tys, [](Type *T) { return isa<PointerType>(T); })) && in getIntrinsicNameImpl() 1091 for (Type *Ty : Tys) in getIntrinsicNameImpl() 1096 FT = Intrinsic::getType(M->getContext(), Id, Tys); in getIntrinsicNameImpl() 1098 assert((FT == Intrinsic::getType(M->getContext(), Id, Tys)) && in getIntrinsicNameImpl() 1105 std::string Intrinsic::getName(ID Id, ArrayRef<Type *> Tys, Module *M, in getName() argument 1108 return getIntrinsicNameImpl(Id, Tys, M, FT, true); in getName() 1111 std::string Intrinsic::getNameNoUnnamedTypes(ID Id, ArrayRef<Type *> Tys) { in getNameNoUnnamedTypes() argument 1112 return getIntrinsicNameImpl(Id, Tys, nullptr, nullptr, false); in getNameNoUnnamedTypes() [all …]
|
H A D | IRBuilder.cpp | 143 Type *Tys[] = { Ptr->getType(), Size->getType() }; in CreateMemSet() local 145 Function *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memset, Tys); in CreateMemSet() 171 Type *Tys[] = {Dst->getType(), Size->getType()}; in CreateMemSetInline() local 173 Function *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memset_inline, Tys); in CreateMemSetInline() 198 Type *Tys[] = {Ptr->getType(), Size->getType()}; in CreateElementUnorderedAtomicMemSet() local 201 M, Intrinsic::memset_element_unordered_atomic, Tys); in CreateElementUnorderedAtomicMemSet() 228 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; in CreateMemTransferInst() local 230 Function *TheFn = Intrinsic::getDeclaration(M, IntrID, Tys); in CreateMemTransferInst() 266 Type *Tys[] = {Dst->getType(), Src->getType(), Size->getType()}; in CreateElementUnorderedAtomicMemCpy() local 269 M, Intrinsic::memcpy_element_unordered_atomic, Tys); in CreateElementUnorderedAtomicMemCpy() [all …]
|
H A D | AutoUpgrade.cpp | 661 std::array<Type *, 2> Tys{ in upgradeArmOrAarch64IntrinsicFunction() local 664 NewFn = Intrinsic::getDeclaration(F->getParent(), ID, Tys); in upgradeArmOrAarch64IntrinsicFunction() 732 Type *Tys[] = {fArgs[0], fArgs[1]}; in upgradeArmOrAarch64IntrinsicFunction() local 735 StoreInts[fArgs.size() - 3], Tys); in upgradeArmOrAarch64IntrinsicFunction() 738 F->getParent(), StoreLaneInts[fArgs.size() - 5], Tys); in upgradeArmOrAarch64IntrinsicFunction() 855 Type *Tys[] = {F->getReturnType(), Args[1]}; in upgradeArmOrAarch64IntrinsicFunction() local 857 Intrinsic::aarch64_sve_faddqv, Tys); in upgradeArmOrAarch64IntrinsicFunction() 886 Type *Tys[] = {F->getReturnType(), F->arg_begin()->getType()}; in upgradeArmOrAarch64IntrinsicFunction() local 888 Intrinsic::vector_extract, Tys); in upgradeArmOrAarch64IntrinsicFunction() 895 Type *Tys[] = {Args[0], Args[2], Args[1]}; in upgradeArmOrAarch64IntrinsicFunction() local [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/ |
H A D | TargetIntrinsicInfo.h | 42 virtual std::string getName(unsigned IID, Type **Tys = nullptr, 62 virtual Function *getDeclaration(Module *M, unsigned ID, Type **Tys = nullptr,
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | GlobalMerge.cpp | 485 std::vector<Type*> Tys; in doMerge() local 505 Tys.push_back(ArrayType::get(Int8Ty, Padding)); in doMerge() 506 Inits.push_back(ConstantAggregateZero::get(Tys.back())); in doMerge() 509 Tys.push_back(Ty); in doMerge() 522 if (Tys.size() < 2) { in doMerge() 533 StructType *MergedTy = StructType::get(M.getContext(), Tys, true); in doMerge() 582 GlobalAlias *GA = GlobalAlias::create(Tys[StructIdxs[idx]], AddrSpace, in doMerge()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | InterpStack.h | 35 template <typename T, typename... Tys> void push(Tys &&... Args) { in push() 36 new (grow(aligned_size<T>())) T(std::forward<Tys>(Args)...); in push()
|
H A D | ByteCodeEmitter.h | 94 template <typename... Tys> 95 bool emitOp(Opcode Op, const Tys &... Args, const SourceInfo &L);
|
H A D | Program.h | 182 template <typename... Tys> 183 Global(Tys... Args) : B(std::forward<Tys>(Args)...) {} in Global()
|
H A D | ByteCodeEmitter.cpp | 309 template <typename... Tys> 310 bool ByteCodeEmitter::emitOp(Opcode Op, const Tys &... Args, const SourceInfo &SI) { in emitOp()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | TargetTransformInfo.cpp | 87 ArrayRef<Type *> Tys, in IntrinsicCostAttributes() argument 92 ParamTys.insert(ParamTys.begin(), Tys.begin(), Tys.end()); in IntrinsicCostAttributes() 107 ArrayRef<Type *> Tys, in IntrinsicCostAttributes() argument 112 ParamTys.insert(ParamTys.begin(), Tys.begin(), Tys.end()); in IntrinsicCostAttributes() 602 ArrayRef<const Value *> Args, ArrayRef<Type *> Tys, in getOperandsScalarizationOverhead() argument 604 return TTIImpl->getOperandsScalarizationOverhead(Args, Tys, CostKind); in getOperandsScalarizationOverhead() 1120 ArrayRef<Type *> Tys, in getCallInstrCost() argument 1122 InstructionCost Cost = TTIImpl->getCallInstrCost(F, RetTy, Tys, CostKind); in getCallInstrCost() 1181 TargetTransformInfo::getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) const { in getCostOfKeepingLiveOverCall() 1182 return TTIImpl->getCostOfKeepingLiveOverCall(Tys); in getCostOfKeepingLiveOverCall()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 815 ArrayRef<Type *> Tys, in getOperandsScalarizationOverhead() argument 817 assert(Args.size() == Tys.size() && "Expected matching Args and Tys"); in getOperandsScalarizationOverhead() 824 Type *Ty = Tys[I]; in getOperandsScalarizationOverhead() 845 ArrayRef<Type *> Tys, in getScalarizationOverhead() argument 850 Cost += getOperandsScalarizationOverhead(Args, Tys, CostKind); in getScalarizationOverhead() 966 SmallVector<Type *> Tys(Args.size(), Ty); 967 return getScalarizationOverhead(VTy, Args, Tys, CostKind) + 1906 const SmallVectorImpl<Type *> &Tys = ICA.getArgTypes(); in getTypeBasedIntrinsicInstrCost() local 1912 if (!Tys.empty()) { in getTypeBasedIntrinsicInstrCost() 1919 assert(Tys.size() > VecTyIndex && "Unexpected IntrinsicCostAttributes"); in getTypeBasedIntrinsicInstrCost() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86SelectionDAGInfo.cpp | 129 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemset() local 131 SDValue RepStos = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops); in EmitTargetCodeForMemset() 172 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in emitRepmovs() local 174 return DAG.getNode(X86ISD::REP_MOVS, dl, Tys, Ops); in emitRepmovs()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 7569 SmallVector<llvm::Type *, 3> Tys; in LookupNeonLLVMIntrinsic() local 7576 Tys.push_back(Ty); in LookupNeonLLVMIntrinsic() 7586 Tys.push_back(ArgType); in LookupNeonLLVMIntrinsic() 7589 Tys.push_back(ArgType); in LookupNeonLLVMIntrinsic() 7592 Tys.push_back(FloatTy); in LookupNeonLLVMIntrinsic() 7594 return CGM.getIntrinsic(IntrinsicID, Tys); in LookupNeonLLVMIntrinsic() 7769 llvm::Type *Tys[] = { VTy, VecFlt }; in EmitCommonNeonBuiltinExpr() local 7770 Function *F = CGM.getIntrinsic(LLVMIntrinsic, Tys); in EmitCommonNeonBuiltinExpr() 7819 llvm::Type *Tys[2] = { GetFloatNeonType(this, Type), Ty }; in EmitCommonNeonBuiltinExpr() local 7820 Function *F = CGM.getIntrinsic(Int, Tys); in EmitCommonNeonBuiltinExpr() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Scalarizer.cpp | 679 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/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfo.h | 139 Intrinsic::ID Id, Type *RTy, ArrayRef<Type *> Tys, 148 ArrayRef<Type *> Tys, FastMathFlags Flags = FastMathFlags(), 906 ArrayRef<Type *> Tys, 1545 Function *F, Type *RetTy, ArrayRef<Type *> Tys, 1568 InstructionCost getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) const; 1946 ArrayRef<Type *> Tys, 2122 ArrayRef<Type *> Tys, 2128 getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) = 0; 2492 ArrayRef<Type *> Tys, in getOperandsScalarizationOverhead() argument 2494 return Impl.getOperandsScalarizationOverhead(Args, Tys, CostKind); in getOperandsScalarizationOverhead() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 545 SmallVector<Type *> Tys(Args.size(), Ty); in getArithmeticInstrCost() local 547 getScalarizationOverhead(VTy, Args, Tys, CostKind); in getArithmeticInstrCost() 571 SmallVector<Type *> Tys(Args.size(), Ty); in getArithmeticInstrCost() local 574 getScalarizationOverhead(VTy, Args, Tys, CostKind); in getArithmeticInstrCost() 591 SmallVector<Type *> Tys(Args.size(), Ty); in getArithmeticInstrCost() local 593 getScalarizationOverhead(VTy, Args, Tys, CostKind); in getArithmeticInstrCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVPrepareFunctions.cpp | 401 SmallVector<Type *, 4> Tys; in toSpvOverloadedIntrinsic() local 403 Tys.push_back(II->getOperand(OpNo)->getType()); in toSpvOverloadedIntrinsic() 404 F = Intrinsic::getDeclaration(II->getModule(), NewID, Tys); in toSpvOverloadedIntrinsic()
|