Home
last modified time | relevance | path

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

12

/NextBSD/contrib/llvm/lib/IR/
HDFunction.cpp500 std::string Intrinsic::getName(ID id, ArrayRef<Type*> Tys) { in getName() argument
508 if (Tys.empty()) in getName()
511 for (unsigned i = 0; i < Tys.size(); ++i) { in getName()
512 Result += "." + getMangledTypeStr(Tys[i]); in getName()
745 ArrayRef<Type*> Tys, LLVMContext &Context) { in DecodeFixedType() argument
762 return VectorType::get(DecodeFixedType(Infos, Tys, Context),D.Vector_Width); in DecodeFixedType()
764 return PointerType::get(DecodeFixedType(Infos, Tys, Context), in DecodeFixedType()
770 Elts[i] = DecodeFixedType(Infos, Tys, Context); in DecodeFixedType()
775 return Tys[D.getArgumentNumber()]; in DecodeFixedType()
777 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
[all …]
HDIRBuilder.cpp87 Type *Tys[] = { Ptr->getType(), Size->getType() }; in CreateMemSet() local
89 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memset, Tys); in CreateMemSet()
114 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; in CreateMemCpy() local
116 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memcpy, Tys); in CreateMemCpy()
145 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; in CreateMemMove() local
147 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memmove, Tys); in CreateMemMove()
HDAutoUpgrade.cpp117 Type *Tys[2] = { F->getReturnType(), F->arg_begin()->getType() }; in UpgradeIntrinsicFunction1() local
118 if (F->getName() != Intrinsic::getName(Intrinsic::objectsize, Tys)) { in UpgradeIntrinsicFunction1()
121 Intrinsic::objectsize, Tys); in UpgradeIntrinsicFunction1()
HDCore.cpp397 ArrayRef<Type*> Tys(unwrap(ParamTypes), ParamCount); in LLVMFunctionType() local
398 return wrap(FunctionType::get(unwrap(ReturnType), Tys, IsVarArg != 0)); in LLVMFunctionType()
424 ArrayRef<Type*> Tys(unwrap(ElementTypes), ElementCount); in LLVMStructTypeInContext() local
425 return wrap(StructType::get(*unwrap(C), Tys, Packed != 0)); in LLVMStructTypeInContext()
449 ArrayRef<Type*> Tys(unwrap(ElementTypes), ElementCount); in LLVMStructSetBody() local
450 unwrap<StructType>(StructTy)->setBody(Tys, Packed != 0); in LLVMStructSetBody()
/NextBSD/contrib/llvm/include/llvm/IR/
HDLLVMContext.h204 inline LLVMContext **unwrap(LLVMContextRef* Tys) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
205 return reinterpret_cast<LLVMContext**>(Tys); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
208 inline LLVMContextRef *wrap(const LLVMContext **Tys) { in wrap() argument
209 return reinterpret_cast<LLVMContextRef*>(const_cast<LLVMContext**>(Tys)); in wrap()
HDIntrinsics.h46 std::string getName(ID id, ArrayRef<Type*> Tys = None);
50 ArrayRef<Type*> Tys = None);
70 Function *getDeclaration(Module *M, ID id, ArrayRef<Type*> Tys = None);
HDType.h479 inline Type **unwrap(LLVMTypeRef* Tys) {
480 return reinterpret_cast<Type**>(Tys);
483 inline LLVMTypeRef *wrap(Type **Tys) {
484 return reinterpret_cast<LLVMTypeRef*>(const_cast<Type**>(Tys));
/NextBSD/contrib/llvm/include/llvm/Analysis/
HDTargetTransformInfo.h483 ArrayRef<Type *> Tys) const;
487 ArrayRef<Type *> Tys) const;
507 unsigned getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) const;
617 ArrayRef<Type *> Tys) = 0;
619 ArrayRef<Type *> Tys) = 0;
622 virtual unsigned getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) = 0;
794 ArrayRef<Type *> Tys) override { in getIntrinsicInstrCost() argument
795 return Impl.getIntrinsicInstrCost(ID, RetTy, Tys); in getIntrinsicInstrCost()
798 ArrayRef<Type *> Tys) override { in getCallInstrCost() argument
799 return Impl.getCallInstrCost(F, RetTy, Tys); in getCallInstrCost()
[all …]
HDTargetTransformInfoImpl.h307 ArrayRef<Type *> Tys) { in getIntrinsicInstrCost() argument
311 unsigned getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type *> Tys) { in getCallInstrCost() argument
321 unsigned getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) { return 0; } in getCostOfKeepingLiveOverCall() argument
/NextBSD/contrib/llvm/include/llvm/CodeGen/
HDBasicTTIImpl.h586 ArrayRef<Type *> Tys) { in getIntrinsicInstrCost() argument
600 for (unsigned i = 0, ie = Tys.size(); i != ie; ++i) { in getIntrinsicInstrCost()
601 Type *Ty = Tys[i]; in getIntrinsicInstrCost()
688 ->getMaskedMemoryOpCost(Instruction::Store, Tys[0], 0, 0); in getIntrinsicInstrCost()
728 for (unsigned i = 0, ie = Tys.size(); i != ie; ++i) { in getIntrinsicInstrCost()
729 Type *Ty = Tys[i]; in getIntrinsicInstrCost()
736 for (unsigned i = 0, ie = Tys.size(); i != ie; ++i) { in getIntrinsicInstrCost()
737 if (Tys[i]->isVectorTy()) { in getIntrinsicInstrCost()
738 ScalarizationCost += getScalarizationOverhead(Tys[i], false, true); in getIntrinsicInstrCost()
739 ScalarCalls = std::max(ScalarCalls, Tys[i]->getVectorNumElements()); in getIntrinsicInstrCost()
[all …]
/NextBSD/contrib/llvm/lib/Analysis/
HDTargetTransformInfo.cpp249 ArrayRef<Type *> Tys) const { in getIntrinsicInstrCost()
250 return TTIImpl->getIntrinsicInstrCost(ID, RetTy, Tys); in getIntrinsicInstrCost()
254 ArrayRef<Type *> Tys) const { in getCallInstrCost()
255 return TTIImpl->getCallInstrCost(F, RetTy, Tys); in getCallInstrCost()
273 TargetTransformInfo::getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) const { in getCostOfKeepingLiveOverCall()
274 return TTIImpl->getCostOfKeepingLiveOverCall(Tys); in getCostOfKeepingLiveOverCall()
HDCostModel.cpp508 SmallVector<Type*, 4> Tys; in getInstructionCost() local
510 Tys.push_back(II->getArgOperand(J)->getType()); in getInstructionCost()
513 Tys); in getInstructionCost()
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86SelectionDAGInfo.cpp164 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemset() local
166 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops); in EmitTargetCodeForMemset()
179 Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemset()
181 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops); in EmitTargetCodeForMemset()
265 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemcpy() local
267 SDValue RepMovs = DAG.getNode(X86ISD::REP_MOVS, dl, Tys, Ops); in EmitTargetCodeForMemcpy()
/NextBSD/contrib/llvm/lib/Target/AMDGPU/
HDAMDGPUIntrinsicInfo.h37 std::string getName(unsigned IntrId, Type **Tys = nullptr,
42 Type **Tys = nullptr,
HDAMDGPUIntrinsicInfo.cpp30 std::string AMDGPUIntrinsicInfo::getName(unsigned IntrID, Type **Tys, in getName() argument
74 Type **Tys, in getDeclaration() argument
/NextBSD/contrib/llvm/include/llvm/Target/
HDTargetIntrinsicInfo.h43 virtual std::string getName(unsigned IID, Type **Tys = nullptr,
59 virtual Function *getDeclaration(Module *M, unsigned ID, Type **Tys = nullptr,
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGBuiltin.cpp520 llvm::Type *Tys[] = { ResType, Builder.getInt8PtrTy(0) }; in EmitBuiltinExpr() local
521 Value *F = CGM.getIntrinsic(Intrinsic::objectsize, Tys); in EmitBuiltinExpr()
2653 SmallVector<llvm::Type *, 3> Tys; in LookupNeonLLVMIntrinsic() local
2660 Tys.push_back(Ty); in LookupNeonLLVMIntrinsic()
2670 Tys.push_back(ArgType); in LookupNeonLLVMIntrinsic()
2673 Tys.push_back(ArgType); in LookupNeonLLVMIntrinsic()
2676 Tys.push_back(FloatTy); in LookupNeonLLVMIntrinsic()
2678 return CGM.getIntrinsic(IntrinsicID, Tys); in LookupNeonLLVMIntrinsic()
2805 llvm::Type *Tys[] = { VTy, VecFlt }; in EmitCommonNeonBuiltinExpr() local
2806 Function *F = CGM.getIntrinsic(LLVMIntrinsic, Tys); in EmitCommonNeonBuiltinExpr()
[all …]
/NextBSD/contrib/llvm/lib/Target/NVPTX/
HDNVVMReflect.cpp228 Type *Tys[1]; in runOnModule() local
235 Tys[0] = PointerType::get(I8Ty, i); in runOnModule()
236 Name = Intrinsic::getName(Intrinsic::nvvm_reflect, Tys); in runOnModule()
/NextBSD/contrib/llvm/lib/Transforms/Utils/
HDValueMapper.cpp392 SmallVector<Type *, 3> Tys; in RemapInstruction() local
394 Tys.reserve(FTy->getNumParams()); in RemapInstruction()
396 Tys.push_back(TypeMapper->remapType(Ty)); in RemapInstruction()
398 TypeMapper->remapType(I->getType()), Tys, FTy->isVarArg())); in RemapInstruction()
/NextBSD/contrib/llvm/lib/CodeGen/
HDGlobalMerge.cpp425 std::vector<Type*> Tys; in doMerge() local
436 Tys.push_back(Ty); in doMerge()
451 StructType *MergedTy = StructType::get(M.getContext(), Tys); in doMerge()
/NextBSD/contrib/llvm/lib/Target/AArch64/
HDAArch64TargetTransformInfo.h117 unsigned getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys);
HDAArch64TargetTransformInfo.cpp430 unsigned AArch64TTIImpl::getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) { in getCostOfKeepingLiveOverCall() argument
432 for (auto *I : Tys) { in getCostOfKeepingLiveOverCall()
/NextBSD/contrib/llvm/lib/Transforms/Vectorize/
HDBBVectorize.cpp1112 SmallVector<Type*, 4> Tys; in areInstsCompatible() local
1114 Tys.push_back(CI->getArgOperand(i)->getType()); in areInstsCompatible()
1115 unsigned ICost = TTI->getIntrinsicInstrCost(IID, IT1, Tys); in areInstsCompatible()
1117 Tys.clear(); in areInstsCompatible()
1120 Tys.push_back(CJ->getArgOperand(i)->getType()); in areInstsCompatible()
1121 unsigned JCost = TTI->getIntrinsicInstrCost(IID, JT1, Tys); in areInstsCompatible()
1123 Tys.clear(); in areInstsCompatible()
1129 Tys.push_back(CI->getArgOperand(i)->getType()); in areInstsCompatible()
1131 Tys.push_back(getVecTypeForPair(CI->getArgOperand(i)->getType(), in areInstsCompatible()
1136 unsigned VCost = TTI->getIntrinsicInstrCost(IID, RetTy, Tys); in areInstsCompatible()
[all …]
HDLoopVectorize.cpp2966 SmallVector<Type *, 4> Tys, ScalarTys; in getVectorCallCost() local
2981 Tys.push_back(ToVectorTy(ScalarTys[i], VF)); in getVectorCallCost()
2987 for (unsigned i = 0, ie = Tys.size(); i != ie; ++i) in getVectorCallCost()
2988 ScalarizationCost += getScalarizationOverhead(Tys[i], false, true, TTI); in getVectorCallCost()
2999 unsigned VectorCallCost = TTI.getCallInstrCost(nullptr, RetTy, Tys); in getVectorCallCost()
3017 SmallVector<Type *, 4> Tys; in getVectorIntrinsicCost() local
3019 Tys.push_back(ToVectorTy(CI->getArgOperand(i)->getType(), VF)); in getVectorIntrinsicCost()
3021 return TTI.getIntrinsicInstrCost(ID, RetTy, Tys); in getVectorIntrinsicCost()
3620 SmallVector<Type *, 4> Tys; in vectorizeBlockInLoop() local
3622 Tys.push_back(ToVectorTy(CI->getArgOperand(i)->getType(), VF)); in vectorizeBlockInLoop()
[all …]
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDLoopIdiomRecognize.cpp573 Type *Tys[] = { Val->getType() }; in createPopcntIntrinsic() local
576 Value *Func = Intrinsic::getDeclaration(M, Intrinsic::ctpop, Tys); in createPopcntIntrinsic()

12