Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/LLVM/lib/VMCore/
DFunction.cpp337 std::string Intrinsic::getName(ID id, ArrayRef<Type*> Tys) { in getName() argument
345 if (Tys.empty()) in getName()
348 for (unsigned i = 0; i < Tys.size(); ++i) { in getName()
349 if (PointerType* PTyp = dyn_cast<PointerType>(Tys[i])) { in getName()
353 else if (Tys[i]) in getName()
354 Result += "." + EVT::getEVT(Tys[i]).getEVTString(); in getName()
360 ID id, ArrayRef<Type*> Tys) { in getType() argument
387 Function *Intrinsic::getDeclaration(Module *M, ID id, ArrayRef<Type*> Tys) { in getDeclaration() argument
391 cast<Function>(M->getOrInsertFunction(getName(id, Tys), in getDeclaration()
392 getType(M->getContext(), id, Tys))); in getDeclaration()
DIRBuilder.cpp68 Type *Tys[] = { Ptr->getType(), Size->getType() }; in CreateMemSet() local
70 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memset, Tys); in CreateMemSet()
88 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; in CreateMemCpy() local
90 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memcpy, Tys); in CreateMemCpy()
108 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; in CreateMemMove() local
110 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memmove, Tys); in CreateMemMove()
/external/swiftshader/third_party/LLVM/include/llvm/
DIntrinsics.h48 std::string getName(ID id, ArrayRef<Type*> Tys = ArrayRef<Type*>());
53 ArrayRef<Type*> Tys = ArrayRef<Type*>());
72 ArrayRef<Type*> Tys = ArrayRef<Type*>());
/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/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/lib/Target/Blackfin/
DBlackfinIntrinsicInfo.h22 std::string getName(unsigned IntrID, Type **Tys = 0,
26 Function *getDeclaration(Module *M, unsigned ID, Type **Tys = 0,
DBlackfinIntrinsicInfo.cpp37 std::string BlackfinIntrinsicInfo::getName(unsigned IntrID, Type **Tys, in getName() argument
97 Type **Tys, in getDeclaration() argument
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
DMBlazeIntrinsicInfo.h22 std::string getName(unsigned IntrID, Type **Tys = 0,
27 Function *getDeclaration(Module *M, unsigned ID, Type **Tys = 0,
DMBlazeIntrinsicInfo.cpp40 std::string MBlazeIntrinsicInfo::getName(unsigned IntrID, Type **Tys, in getName() argument
106 Type **Tys, in getDeclaration() argument
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86SelectionDAGInfo.cpp139 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemset() local
141 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops, array_lengthof(Ops)); in EmitTargetCodeForMemset()
153 Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemset()
155 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops, array_lengthof(Ops)); in EmitTargetCodeForMemset()
233 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemcpy() local
235 SDValue RepMovs = DAG.getNode(X86ISD::REP_MOVS, dl, Tys, Ops, in EmitTargetCodeForMemcpy()
/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/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetIntrinsicInfo.h42 virtual std::string getName(unsigned IID, Type **Tys = 0,
58 virtual Function *getDeclaration(Module *M, unsigned ID, Type **Tys = 0,
/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/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/lib/Target/ARM/
DARMGlobalMerge.cpp131 std::vector<Type*> Tys; in doMerge() local
139 Tys.push_back(Ty); in doMerge()
143 StructType *MergedTy = StructType::get(M.getContext(), Tys); 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()
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVInstruction.cpp119 std::vector<SPIRVType*> Tys; in getOperandTypes() local
127 Tys.push_back(Ty); in getOperandTypes()
129 return Tys; in getOperandTypes()

123