Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DTrailingObjects.h238 template <typename... Tys> class Foo {};
328 template <typename... Tys>
330 std::is_same<Foo<TrailingTys...>, Foo<Tys...>>::value, size_t>::type
340 template <typename... Tys>
342 std::is_same<Foo<TrailingTys...>, Foo<Tys...>>::value, size_t>::type
363 template <typename... Tys> struct FixedSizeStorage {
365 enum { Size = totalSizeToAlloc<Tys...>(Counts...) };
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DIRBuilder.cpp105 Type *Tys[] = { Ptr->getType(), Size->getType() }; in CreateMemSet() local
107 Function *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memset, Tys); in CreateMemSet()
133 Type *Tys[] = {Ptr->getType(), Size->getType()}; in CreateElementUnorderedAtomicMemSet() local
136 M, Intrinsic::memset_element_unordered_atomic, Tys); in CreateElementUnorderedAtomicMemSet()
174 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; in CreateMemCpy() local
176 Function *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memcpy, Tys); in CreateMemCpy()
215 Type *Tys[] = {Dst->getType(), Src->getType(), Size->getType()}; in CreateElementUnorderedAtomicMemCpy() local
218 M, Intrinsic::memcpy_element_unordered_atomic, Tys); in CreateElementUnorderedAtomicMemCpy()
253 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; in CreateMemMove() local
255 Function *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memmove, Tys); in CreateMemMove()
[all …]
DFunction.cpp666 std::string Intrinsic::getName(ID id, ArrayRef<Type*> Tys) { in getName() argument
669 for (Type *Ty : Tys) { in getName()
966 ArrayRef<Type*> Tys, LLVMContext &Context) { in DecodeFixedType() argument
986 return VectorType::get(DecodeFixedType(Infos, Tys, Context),D.Vector_Width); in DecodeFixedType()
988 return PointerType::get(DecodeFixedType(Infos, Tys, Context), in DecodeFixedType()
993 Elts.push_back(DecodeFixedType(Infos, Tys, Context)); in DecodeFixedType()
997 return Tys[D.getArgumentNumber()]; in DecodeFixedType()
999 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
1006 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
1016 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
[all …]
DAutoUpgrade.cpp531 SmallVector<Type *, 4> Tys(fArgs.begin(), fArgs.end()); in UpgradeIntrinsicFunction1() local
534 FunctionType* fType = FunctionType::get(F->getReturnType(), Tys, false); in UpgradeIntrinsicFunction1()
552 Type *Tys[] = {fArgs[0], fArgs[1]}; in UpgradeIntrinsicFunction1() local
555 StoreInts[fArgs.size() - 3], Tys); in UpgradeIntrinsicFunction1()
558 StoreLaneInts[fArgs.size() - 5], Tys); in UpgradeIntrinsicFunction1()
634 Type *Tys[] = {F->getFunctionType()->getReturnType(), Args[1]}; in UpgradeIntrinsicFunction1() local
635 NewFn = Intrinsic::getDeclaration(F->getParent(), ID, Tys); in UpgradeIntrinsicFunction1()
684 Type *Tys[] = { F->getReturnType(), F->arg_begin()->getType() }; in UpgradeIntrinsicFunction1() local
685 if (F->getName() != Intrinsic::getName(Intrinsic::masked_load, Tys)) { in UpgradeIntrinsicFunction1()
689 Tys); in UpgradeIntrinsicFunction1()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDerivedTypes.h269 template <class... Tys>
270 static typename std::enable_if<are_base_of<Type, Tys...>::value,
272 create(StringRef Name, Type *elt1, Tys *... elts) { in create()
288 template <class... Tys>
289 static typename std::enable_if<are_base_of<Type, Tys...>::value,
291 get(Type *elt1, Tys *... elts) { in get()
326 template <typename... Tys>
327 typename std::enable_if<are_base_of<Type, Tys...>::value, void>::type
328 setBody(Type *elt1, Tys *... elts) { in setBody()
DLLVMContext.h318 inline LLVMContext **unwrap(LLVMContextRef* Tys) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
319 return reinterpret_cast<LLVMContext**>(Tys); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
322 inline LLVMContextRef *wrap(const LLVMContext **Tys) { in wrap() argument
323 return reinterpret_cast<LLVMContextRef*>(const_cast<LLVMContext**>(Tys)); in wrap()
DIntrinsics.h59 std::string getName(ID id, ArrayRef<Type*> Tys);
63 ArrayRef<Type*> Tys = None);
83 Function *getDeclaration(Module *M, ID id, ArrayRef<Type*> Tys = None);
DType.h488 inline Type **unwrap(LLVMTypeRef* Tys) {
489 return reinterpret_cast<Type**>(Tys);
492 inline LLVMTypeRef *wrap(Type **Tys) {
493 return reinterpret_cast<LLVMTypeRef*>(const_cast<Type**>(Tys));
DVerifier.h43 template <typename... Tys> void CheckFailed(Tys &&... Args);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DLLVMContext.h283 inline LLVMContext **unwrap(LLVMContextRef* Tys) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
284 return reinterpret_cast<LLVMContext**>(Tys); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
287 inline LLVMContextRef *wrap(const LLVMContext **Tys) { in wrap() argument
288 return reinterpret_cast<LLVMContextRef*>(const_cast<LLVMContext**>(Tys)); in wrap()
DIntrinsics.h57 std::string getName(ID id, ArrayRef<Type*> Tys);
61 ArrayRef<Type*> Tys = None);
81 Function *getDeclaration(Module *M, ID id, ArrayRef<Type*> Tys = None);
DType.h465 inline Type **unwrap(LLVMTypeRef* Tys) {
466 return reinterpret_cast<Type**>(Tys);
469 inline LLVMTypeRef *wrap(Type **Tys) {
470 return reinterpret_cast<LLVMTypeRef*>(const_cast<Type**>(Tys));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h1180 Intrinsic::ID IID, Type *RetTy, ArrayRef<Type *> Tys, FastMathFlags FMF,
1199 for (unsigned i = 0, ie = Tys.size(); i != ie; ++i) {
1200 Type *Ty = Tys[i];
1295 return ConcreteTTI->getMaskedMemoryOpCost(Instruction::Store, Tys[0], 0,
1300 return ConcreteTTI->getArithmeticReductionCost(Instruction::Add, Tys[0],
1303 return ConcreteTTI->getArithmeticReductionCost(Instruction::Mul, Tys[0],
1306 return ConcreteTTI->getArithmeticReductionCost(Instruction::And, Tys[0],
1309 return ConcreteTTI->getArithmeticReductionCost(Instruction::Or, Tys[0],
1312 return ConcreteTTI->getArithmeticReductionCost(Instruction::Xor, Tys[0],
1316 Instruction::FAdd, Tys[0],
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DTargetIntrinsicInfo.h43 virtual std::string getName(unsigned IID, Type **Tys = nullptr,
63 virtual Function *getDeclaration(Module *M, unsigned ID, Type **Tys = nullptr,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DInjectTLIMappings.cpp78 SmallVector<Type *, 4> Tys; in addVariantDeclaration() local
80 Tys.push_back(ToVectorTy(ArgOperand->getType(), VF)); in addVariantDeclaration()
83 FunctionType *FTy = FunctionType::get(RetTy, Tys, /*isVarArg=*/false); in addVariantDeclaration()
DValueMapper.cpp892 SmallVector<Type *, 3> Tys; in remapInstruction() local
894 Tys.reserve(FTy->getNumParams()); in remapInstruction()
896 Tys.push_back(TypeMapper->remapType(Ty)); in remapInstruction()
898 TypeMapper->remapType(I->getType()), Tys, FTy->isVarArg())); in remapInstruction()
973 Type *Tys[3] = {ST.getElementType(0), ST.getElementType(1), VoidPtrTy}; in mapAppendingVariable() local
974 EltTy = StructType::get(GV.getContext(), Tys, false); in mapAppendingVariable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp129 ArrayRef<Type*> Tys) { in getCallInstrCost() argument
130 return BaseT::getCallInstrCost(F, RetTy, Tys); in getCallInstrCost()
139 ArrayRef<Type*> Tys, FastMathFlags FMF, in getIntrinsicInstrCost() argument
145 return BaseT::getIntrinsicInstrCost(ID, RetTy, Tys, FMF, in getIntrinsicInstrCost()
DHexagonTargetTransformInfo.h107 unsigned getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type*> Tys);
111 ArrayRef<Type*> Tys, FastMathFlags FMF,
DHexagonISelLoweringHVX.cpp218 HexagonTargetLowering::typeJoin(const TypePair &Tys) const { in typeJoin()
219 assert(Tys.first.getVectorElementType() == Tys.second.getVectorElementType()); in typeJoin()
221 MVT ElemTy = Tys.first.getVectorElementType(); in typeJoin()
222 return MVT::getVectorVT(ElemTy, Tys.first.getVectorNumElements() + in typeJoin()
223 Tys.second.getVectorNumElements()); in typeJoin()
268 TypePair Tys = typeSplit(ty(Vec)); in opSplit() local
271 return DAG.SplitVector(Vec, dl, Tys.first, Tys.second); in opSplit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86SelectionDAGInfo.cpp162 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemset() local
164 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops); in EmitTargetCodeForMemset()
202 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in emitRepmovs() local
204 return DAG.getNode(X86ISD::REP_MOVS, dl, Tys, Ops); in emitRepmovs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfo.h1011 ArrayRef<Type *> Tys, FastMathFlags FMF,
1015 int getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type *> Tys) const;
1036 unsigned getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) const;
1351 ArrayRef<Type *> Tys, FastMathFlags FMF,
1356 ArrayRef<Type *> Tys) = 0;
1360 virtual unsigned getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) = 0;
1776 int getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, ArrayRef<Type *> Tys, in getIntrinsicInstrCost() argument
1778 return Impl.getIntrinsicInstrCost(ID, RetTy, Tys, FMF, in getIntrinsicInstrCost()
1786 ArrayRef<Type *> Tys) override { in getCallInstrCost() argument
1787 return Impl.getCallInstrCost(F, RetTy, Tys); in getCallInstrCost()
[all …]
DTargetTransformInfoImpl.h492 ArrayRef<Type *> Tys, FastMathFlags FMF, in getIntrinsicInstrCost() argument
501 unsigned getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type *> Tys) { in getCallInstrCost() argument
516 unsigned getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) { return 0; } in getCostOfKeepingLiveOverCall() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTargetTransformInfo.cpp693 ArrayRef<Type *> Tys, FastMathFlags FMF, in getIntrinsicInstrCost() argument
695 int Cost = TTIImpl->getIntrinsicInstrCost(ID, RetTy, Tys, FMF, in getIntrinsicInstrCost()
709 ArrayRef<Type *> Tys) const { in getCallInstrCost()
710 int Cost = TTIImpl->getCallInstrCost(F, RetTy, Tys); in getCallInstrCost()
750 TargetTransformInfo::getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) const { in getCostOfKeepingLiveOverCall()
751 return TTIImpl->getCostOfKeepingLiveOverCall(Tys); in getCostOfKeepingLiveOverCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.h106 ArrayRef<Type *> Tys, FastMathFlags FMF,

123