Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUIntrinsicInfo.cpp39 ArrayRef<Type *> Tys) const { in getName()
49 std::string AMDGPUIntrinsicInfo::getName(unsigned IntrID, Type **Tys, in getName() argument
51 return getName(IntrID, makeArrayRef(Tys, NumTys)).str(); in getName()
55 ArrayRef<Type*> Tys) const { in getType()
88 ArrayRef<Type *> Tys) const { in getDeclaration()
89 FunctionType *FTy = getType(M->getContext(), IntrID, Tys); in getDeclaration()
91 = cast<Function>(M->getOrInsertFunction(getName(IntrID, Tys), FTy)); in getDeclaration()
100 Type **Tys, in getDeclaration() argument
102 return getDeclaration(M, IntrID, makeArrayRef(Tys, NumTys)); in getDeclaration()
DAMDGPUIntrinsicInfo.h38 StringRef getName(unsigned IntrId, ArrayRef<Type *> Tys = None) const;
40 std::string getName(unsigned IntrId, Type **Tys = nullptr,
46 Type **Tys = nullptr,
53 ArrayRef<Type*> Tys = None) const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DDerivedTypes.h232 template <class... Tys>
233 static typename std::enable_if<are_base_of<Type, Tys...>::value,
235 create(StringRef Name, Type *elt1, Tys *... elts) { in create()
251 template <class... Tys>
252 static typename std::enable_if<are_base_of<Type, Tys...>::value,
254 get(Type *elt1, Tys *... elts) { in get()
289 template <typename... Tys>
290 typename std::enable_if<are_base_of<Type, Tys...>::value, void>::type
291 setBody(Type *elt1, Tys *... elts) { in setBody()
DLLVMContext.h346 inline LLVMContext **unwrap(LLVMContextRef* Tys) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
347 return reinterpret_cast<LLVMContext**>(Tys); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
350 inline LLVMContextRef *wrap(const LLVMContext **Tys) { in wrap() argument
351 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);
/external/llvm/include/llvm/Support/
DTrailingObjects.h240 template <typename... Tys> class Foo {};
325 template <typename... Tys>
327 std::is_same<Foo<TrailingTys...>, Foo<Tys...>>::value, size_t>::type
338 template <typename... Tys>
340 std::is_same<Foo<TrailingTys...>, Foo<Tys...>>::value, size_t>::type
361 template <typename... Tys> struct FixedSizeStorage {
363 enum { Size = totalSizeToAlloc<Tys...>(Counts...) };
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DTrailingObjects.h243 template <typename... Tys> class Foo {};
335 template <typename... Tys>
337 std::is_same<Foo<TrailingTys...>, Foo<Tys...>>::value, size_t>::type
347 template <typename... Tys>
349 std::is_same<Foo<TrailingTys...>, Foo<Tys...>>::value, size_t>::type
370 template <typename... Tys> struct FixedSizeStorage {
372 enum { Size = totalSizeToAlloc<Tys...>(Counts...) };
/external/llvm/include/llvm/IR/
DLLVMContext.h259 inline LLVMContext **unwrap(LLVMContextRef* Tys) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
260 return reinterpret_cast<LLVMContext**>(Tys); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
263 inline LLVMContextRef *wrap(const LLVMContext **Tys) { in wrap() argument
264 return reinterpret_cast<LLVMContextRef*>(const_cast<LLVMContext**>(Tys)); in wrap()
DIntrinsics.h48 std::string getName(ID id, ArrayRef<Type*> Tys = None);
52 ArrayRef<Type*> Tys = None);
72 Function *getDeclaration(Module *M, ID id, ArrayRef<Type*> Tys = None);
/external/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);
/external/llvm/lib/IR/
DFunction.cpp532 std::string Intrinsic::getName(ID id, ArrayRef<Type*> Tys) { in getName() argument
535 for (Type *Ty : Tys) { in getName()
783 ArrayRef<Type*> Tys, LLVMContext &Context) { in DecodeFixedType() argument
801 return VectorType::get(DecodeFixedType(Infos, Tys, Context),D.Vector_Width); in DecodeFixedType()
803 return PointerType::get(DecodeFixedType(Infos, Tys, Context), in DecodeFixedType()
809 Elts[i] = DecodeFixedType(Infos, Tys, Context); in DecodeFixedType()
814 return Tys[D.getArgumentNumber()]; in DecodeFixedType()
816 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
823 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
833 Tys[D.getArgumentNumber()])); in DecodeFixedType()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h975 Intrinsic::ID IID, Type *RetTy, ArrayRef<Type *> Tys, FastMathFlags FMF,
992 for (unsigned i = 0, ie = Tys.size(); i != ie; ++i) {
993 Type *Ty = Tys[i];
1086 ->getMaskedMemoryOpCost(Instruction::Store, Tys[0], 0, 0);
1092 Instruction::Add, Tys[0], /*IsPairwiseForm=*/false);
1095 Instruction::Mul, Tys[0], /*IsPairwiseForm=*/false);
1098 Instruction::And, Tys[0], /*IsPairwiseForm=*/false);
1101 Instruction::Or, Tys[0], /*IsPairwiseForm=*/false);
1104 Instruction::Xor, Tys[0], /*IsPairwiseForm=*/false);
1107 Instruction::FAdd, Tys[0], /*IsPairwiseForm=*/false);
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DIRBuilder.cpp105 Type *Tys[] = { Ptr->getType(), Size->getType() }; in CreateMemSet() local
107 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memset, Tys); in CreateMemSet()
135 Type *Tys[] = {Ptr->getType(), Size->getType()}; in CreateElementUnorderedAtomicMemSet() local
138 M, Intrinsic::memset_element_unordered_atomic, Tys); in CreateElementUnorderedAtomicMemSet()
167 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; in CreateMemCpy() local
169 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memcpy, Tys); in CreateMemCpy()
208 Type *Tys[] = {Dst->getType(), Src->getType(), Size->getType()}; in CreateElementUnorderedAtomicMemCpy() local
211 M, Intrinsic::memcpy_element_unordered_atomic, Tys); in CreateElementUnorderedAtomicMemCpy()
247 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; in CreateMemMove() local
249 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memmove, Tys); in CreateMemMove()
[all …]
DFunction.cpp620 std::string Intrinsic::getName(ID id, ArrayRef<Type*> Tys) { in getName() argument
623 for (Type *Ty : Tys) { in getName()
885 ArrayRef<Type*> Tys, LLVMContext &Context) { in DecodeFixedType() argument
905 return VectorType::get(DecodeFixedType(Infos, Tys, Context),D.Vector_Width); in DecodeFixedType()
907 return PointerType::get(DecodeFixedType(Infos, Tys, Context), in DecodeFixedType()
912 Elts.push_back(DecodeFixedType(Infos, Tys, Context)); in DecodeFixedType()
916 return Tys[D.getArgumentNumber()]; in DecodeFixedType()
918 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
925 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
935 Tys[D.getArgumentNumber()])); in DecodeFixedType()
[all …]
/external/llvm/lib/Target/AMDGPU/
DAMDGPUIntrinsicInfo.h37 std::string getName(unsigned IntrId, Type **Tys = nullptr,
42 Type **Tys = nullptr,
DAMDGPUIntrinsicInfo.cpp32 std::string AMDGPUIntrinsicInfo::getName(unsigned IntrID, Type **Tys, in getName() argument
72 Type **Tys, in getDeclaration() argument
/external/llvm/include/llvm/Target/
DTargetIntrinsicInfo.h43 virtual std::string getName(unsigned IID, Type **Tys = nullptr,
59 virtual Function *getDeclaration(Module *M, unsigned ID, Type **Tys = nullptr,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Target/
DTargetIntrinsicInfo.h44 virtual std::string getName(unsigned IID, Type **Tys = nullptr,
64 virtual Function *getDeclaration(Module *M, unsigned ID, Type **Tys = nullptr,
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h567 ArrayRef<Type *> Tys, FastMathFlags FMF) const;
574 int getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type *> Tys) const;
594 unsigned getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) const;
724 ArrayRef<Type *> Tys,
730 ArrayRef<Type *> Tys) = 0;
733 virtual unsigned getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) = 0;
947 int getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, ArrayRef<Type *> Tys, in getIntrinsicInstrCost() argument
949 return Impl.getIntrinsicInstrCost(ID, RetTy, Tys, FMF); in getIntrinsicInstrCost()
957 ArrayRef<Type *> Tys) override { in getCallInstrCost() argument
958 return Impl.getCallInstrCost(F, RetTy, Tys); in getCallInstrCost()
[all …]
/external/llvm/lib/Target/X86/
DX86SelectionDAGInfo.cpp160 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemset() local
162 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops); in EmitTargetCodeForMemset()
174 Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemset()
176 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops); in EmitTargetCodeForMemset()
257 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemcpy() local
259 SDValue RepMovs = DAG.getNode(X86ISD::REP_MOVS, dl, Tys, Ops); in EmitTargetCodeForMemcpy()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp460 llvm::Type *Tys[] = {ResType, Builder.getInt8PtrTy(0)}; in emitBuiltinObjectSize() local
461 Value *F = CGM.getIntrinsic(Intrinsic::objectsize, Tys); in emitBuiltinObjectSize()
3243 SmallVector<llvm::Type *, 3> Tys; in LookupNeonLLVMIntrinsic() local
3250 Tys.push_back(Ty); in LookupNeonLLVMIntrinsic()
3260 Tys.push_back(ArgType); in LookupNeonLLVMIntrinsic()
3263 Tys.push_back(ArgType); in LookupNeonLLVMIntrinsic()
3266 Tys.push_back(FloatTy); in LookupNeonLLVMIntrinsic()
3268 return CGM.getIntrinsic(IntrinsicID, Tys); in LookupNeonLLVMIntrinsic()
3398 llvm::Type *Tys[] = { VTy, VecFlt }; in EmitCommonNeonBuiltinExpr() local
3399 Function *F = CGM.getIntrinsic(LLVMIntrinsic, Tys); in EmitCommonNeonBuiltinExpr()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DGlobalMerge.cpp454 std::vector<Type*> Tys; in doMerge() local
472 Tys.push_back(ArrayType::get(Int8Ty, Padding)); in doMerge()
473 Inits.push_back(ConstantAggregateZero::get(Tys.back())); in doMerge()
476 Tys.push_back(Ty); in doMerge()
489 if (Tys.size() < 2) { in doMerge()
500 StructType *MergedTy = StructType::get(M.getContext(), Tys, true); in doMerge()
547 GlobalAlias *GA = GlobalAlias::create(Tys[StructIdxs[idx]], AddrSpace, in doMerge()
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h707 ArrayRef<Type *> Tys, FastMathFlags FMF) { in getIntrinsicInstrCost() argument
722 for (unsigned i = 0, ie = Tys.size(); i != ie; ++i) { in getIntrinsicInstrCost()
723 Type *Ty = Tys[i]; in getIntrinsicInstrCost()
814 ->getMaskedMemoryOpCost(Instruction::Store, Tys[0], 0, 0); in getIntrinsicInstrCost()
876 for (unsigned i = 0, ie = Tys.size(); i != ie; ++i) { in getIntrinsicInstrCost()
877 Type *Ty = Tys[i]; in getIntrinsicInstrCost()
884 for (unsigned i = 0, ie = Tys.size(); i != ie; ++i) { in getIntrinsicInstrCost()
885 if (Tys[i]->isVectorTy()) { in getIntrinsicInstrCost()
886 ScalarizationCost += getScalarizationOverhead(Tys[i], false, true); in getIntrinsicInstrCost()
887 ScalarCalls = std::max(ScalarCalls, Tys[i]->getVectorNumElements()); in getIntrinsicInstrCost()
[all …]
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp360 ArrayRef<Type *> Tys, in getIntrinsicInstrCost() argument
362 int Cost = TTIImpl->getIntrinsicInstrCost(ID, RetTy, Tys, FMF); in getIntrinsicInstrCost()
376 ArrayRef<Type *> Tys) const { in getCallInstrCost()
377 int Cost = TTIImpl->getCallInstrCost(F, RetTy, Tys); in getCallInstrCost()
401 TargetTransformInfo::getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) const { in getCostOfKeepingLiveOverCall()
402 return TTIImpl->getCostOfKeepingLiveOverCall(Tys); in getCostOfKeepingLiveOverCall()

1234