| /NextBSD/contrib/llvm/lib/IR/ |
| HD | Function.cpp | 500 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 …]
|
| HD | IRBuilder.cpp | 87 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()
|
| HD | AutoUpgrade.cpp | 117 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()
|
| HD | Core.cpp | 397 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/ |
| HD | LLVMContext.h | 204 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()
|
| HD | Intrinsics.h | 46 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);
|
| HD | Type.h | 479 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/ |
| HD | TargetTransformInfo.h | 483 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 …]
|
| HD | TargetTransformInfoImpl.h | 307 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/ |
| HD | BasicTTIImpl.h | 586 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/ |
| HD | TargetTransformInfo.cpp | 249 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()
|
| HD | CostModel.cpp | 508 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/ |
| HD | X86SelectionDAGInfo.cpp | 164 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/ |
| HD | AMDGPUIntrinsicInfo.h | 37 std::string getName(unsigned IntrId, Type **Tys = nullptr, 42 Type **Tys = nullptr,
|
| HD | AMDGPUIntrinsicInfo.cpp | 30 std::string AMDGPUIntrinsicInfo::getName(unsigned IntrID, Type **Tys, in getName() argument 74 Type **Tys, in getDeclaration() argument
|
| /NextBSD/contrib/llvm/include/llvm/Target/ |
| HD | TargetIntrinsicInfo.h | 43 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/ |
| HD | CGBuiltin.cpp | 520 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/ |
| HD | NVVMReflect.cpp | 228 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/ |
| HD | ValueMapper.cpp | 392 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/ |
| HD | GlobalMerge.cpp | 425 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/ |
| HD | AArch64TargetTransformInfo.h | 117 unsigned getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys);
|
| HD | AArch64TargetTransformInfo.cpp | 430 unsigned AArch64TTIImpl::getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) { in getCostOfKeepingLiveOverCall() argument 432 for (auto *I : Tys) { in getCostOfKeepingLiveOverCall()
|
| /NextBSD/contrib/llvm/lib/Transforms/Vectorize/ |
| HD | BBVectorize.cpp | 1112 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 …]
|
| HD | LoopVectorize.cpp | 2966 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/ |
| HD | LoopIdiomRecognize.cpp | 573 Type *Tys[] = { Val->getType() }; in createPopcntIntrinsic() local 576 Value *Func = Intrinsic::getDeclaration(M, Intrinsic::ctpop, Tys); in createPopcntIntrinsic()
|