Home
last modified time | relevance | path

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

12

/external/llvm/lib/IR/
DFunction.cpp499 std::string Intrinsic::getName(ID id, ArrayRef<Type*> Tys) { in getName() argument
507 if (Tys.empty()) in getName()
510 for (unsigned i = 0; i < Tys.size(); ++i) { in getName()
511 Result += "." + getMangledTypeStr(Tys[i]); in getName()
740 ArrayRef<Type*> Tys, LLVMContext &Context) { in DecodeFixedType() argument
757 return VectorType::get(DecodeFixedType(Infos, Tys, Context),D.Vector_Width); in DecodeFixedType()
759 return PointerType::get(DecodeFixedType(Infos, Tys, Context), in DecodeFixedType()
765 Elts[i] = DecodeFixedType(Infos, Tys, Context); in DecodeFixedType()
770 return Tys[D.getArgumentNumber()]; in DecodeFixedType()
772 Type *Ty = Tys[D.getArgumentNumber()]; in DecodeFixedType()
[all …]
DIRBuilder.cpp71 Type *Tys[] = { Ptr->getType(), Size->getType() }; in CreateMemSet() local
73 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memset, Tys); in CreateMemSet()
98 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; in CreateMemCpy() local
100 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memcpy, Tys); in CreateMemCpy()
129 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; in CreateMemMove() local
131 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memmove, Tys); in CreateMemMove()
DAutoUpgrade.cpp132 Type *Tys[2] = { F->getReturnType(), F->arg_begin()->getType() }; in UpgradeIntrinsicFunction1() local
133 if (F->getName() != Intrinsic::getName(Intrinsic::objectsize, Tys)) { in UpgradeIntrinsicFunction1()
136 Intrinsic::objectsize, Tys); in UpgradeIntrinsicFunction1()
/external/llvm/include/llvm/IR/
DLLVMContext.h202 inline LLVMContext **unwrap(LLVMContextRef* Tys) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
203 return reinterpret_cast<LLVMContext**>(Tys); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
206 inline LLVMContextRef *wrap(const LLVMContext **Tys) { in wrap() argument
207 return reinterpret_cast<LLVMContextRef*>(const_cast<LLVMContext**>(Tys)); in wrap()
DIntrinsics.h46 std::string getName(ID id, ArrayRef<Type*> Tys = None);
50 ArrayRef<Type*> Tys = None);
65 Function *getDeclaration(Module *M, ID id, ArrayRef<Type*> Tys = None);
DType.h478 inline Type **unwrap(LLVMTypeRef* Tys) {
479 return reinterpret_cast<Type**>(Tys);
482 inline LLVMTypeRef *wrap(Type **Tys) {
483 return reinterpret_cast<LLVMTypeRef*>(const_cast<Type**>(Tys));
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h465 ArrayRef<Type *> Tys) const;
469 ArrayRef<Type *> Tys) const;
489 unsigned getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) const;
588 ArrayRef<Type *> Tys) = 0;
590 ArrayRef<Type *> Tys) = 0;
593 virtual unsigned getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) = 0;
748 ArrayRef<Type *> Tys) override { in getIntrinsicInstrCost() argument
749 return Impl.getIntrinsicInstrCost(ID, RetTy, Tys); in getIntrinsicInstrCost()
752 ArrayRef<Type *> Tys) override { in getCallInstrCost() argument
753 return Impl.getCallInstrCost(F, RetTy, Tys); in getCallInstrCost()
[all …]
DTargetTransformInfoImpl.h304 ArrayRef<Type *> Tys) { in getIntrinsicInstrCost() argument
308 unsigned getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type *> Tys) { in getCallInstrCost() argument
318 unsigned getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) { return 0; } in getCostOfKeepingLiveOverCall() argument
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp240 ArrayRef<Type *> Tys) const { in getIntrinsicInstrCost()
241 return TTIImpl->getIntrinsicInstrCost(ID, RetTy, Tys); in getIntrinsicInstrCost()
245 ArrayRef<Type *> Tys) const { in getCallInstrCost()
246 return TTIImpl->getCallInstrCost(F, RetTy, Tys); in getCallInstrCost()
264 TargetTransformInfo::getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) const { in getCostOfKeepingLiveOverCall()
265 return TTIImpl->getCostOfKeepingLiveOverCall(Tys); in getCostOfKeepingLiveOverCall()
DCostModel.cpp508 SmallVector<Type*, 4> Tys; in getInstructionCost() local
510 Tys.push_back(II->getArgOperand(J)->getType()); in getInstructionCost()
513 Tys); in getInstructionCost()
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h526 ArrayRef<Type *> Tys) { in getIntrinsicInstrCost() argument
540 for (unsigned i = 0, ie = Tys.size(); i != ie; ++i) { in getIntrinsicInstrCost()
541 Type *Ty = Tys[i]; in getIntrinsicInstrCost()
628 ->getMaskedMemoryOpCost(Instruction::Store, Tys[0], 0, 0); in getIntrinsicInstrCost()
668 for (unsigned i = 0, ie = Tys.size(); i != ie; ++i) { in getIntrinsicInstrCost()
669 Type *Ty = Tys[i]; in getIntrinsicInstrCost()
676 for (unsigned i = 0, ie = Tys.size(); i != ie; ++i) { in getIntrinsicInstrCost()
677 if (Tys[i]->isVectorTy()) { in getIntrinsicInstrCost()
678 ScalarizationCost += getScalarizationOverhead(Tys[i], false, true); in getIntrinsicInstrCost()
679 ScalarCalls = std::max(ScalarCalls, Tys[i]->getVectorNumElements()); in getIntrinsicInstrCost()
[all …]
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILIntrinsicInfo.h36 std::string getName(unsigned int IntrId, Type **Tys = 0,
41 Type **Tys = 0,
DAMDILIntrinsicInfo.cpp33 AMDGPUIntrinsicInfo::getName(unsigned int IntrID, Type **Tys, in getName() argument
86 Type **Tys, in getDeclaration() argument
/external/llvm/lib/Target/R600/
DAMDGPUIntrinsicInfo.h37 std::string getName(unsigned IntrId, Type **Tys = nullptr,
42 Type **Tys = nullptr,
DAMDGPUIntrinsicInfo.cpp30 std::string AMDGPUIntrinsicInfo::getName(unsigned IntrID, Type **Tys, in getName() argument
74 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/llvm/lib/Target/X86/
DX86SelectionDAGInfo.cpp168 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemset() local
170 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops); in EmitTargetCodeForMemset()
182 Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemset()
184 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops); in EmitTargetCodeForMemset()
268 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemcpy() local
270 SDValue RepMovs = DAG.getNode(X86ISD::REP_MOVS, dl, Tys, Ops); in EmitTargetCodeForMemcpy()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp474 llvm::Type *Tys[] = { ResType, Builder.getInt8PtrTy(0) }; in EmitBuiltinExpr() local
475 Value *F = CGM.getIntrinsic(Intrinsic::objectsize, Tys); in EmitBuiltinExpr()
2638 SmallVector<llvm::Type *, 3> Tys; in LookupNeonLLVMIntrinsic() local
2645 Tys.push_back(Ty); in LookupNeonLLVMIntrinsic()
2655 Tys.push_back(ArgType); in LookupNeonLLVMIntrinsic()
2658 Tys.push_back(ArgType); in LookupNeonLLVMIntrinsic()
2661 Tys.push_back(FloatTy); in LookupNeonLLVMIntrinsic()
2663 return CGM.getIntrinsic(IntrinsicID, Tys); in LookupNeonLLVMIntrinsic()
2790 llvm::Type *Tys[] = { VTy, VecFlt }; in EmitCommonNeonBuiltinExpr() local
2791 Function *F = CGM.getIntrinsic(LLVMIntrinsic, Tys); in EmitCommonNeonBuiltinExpr()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVVMReflect.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()
/external/llvm/lib/CodeGen/
DGlobalMerge.cpp180 std::vector<Type*> Tys; in doMerge() local
191 Tys.push_back(Ty); in doMerge()
206 StructType *MergedTy = StructType::get(M.getContext(), Tys); in doMerge()
/external/llvm/examples/BrainF/
DBrainF.cpp58 Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) }; in header() local
60 Tys); in header()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.h133 unsigned getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys);
DAArch64TargetTransformInfo.cpp410 unsigned AArch64TTIImpl::getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) { in getCostOfKeepingLiveOverCall() argument
412 for (auto *I : Tys) { in getCostOfKeepingLiveOverCall()
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.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 …]
DLoopVectorize.cpp2670 SmallVector<Type *, 4> Tys, ScalarTys; in getVectorCallCost() local
2685 Tys.push_back(ToVectorTy(ScalarTys[i], VF)); in getVectorCallCost()
2691 for (unsigned i = 0, ie = Tys.size(); i != ie; ++i) in getVectorCallCost()
2692 ScalarizationCost += getScalarizationOverhead(Tys[i], false, true, TTI); in getVectorCallCost()
2703 unsigned VectorCallCost = TTI.getCallInstrCost(nullptr, RetTy, Tys); in getVectorCallCost()
2721 SmallVector<Type *, 4> Tys; in getVectorIntrinsicCost() local
2723 Tys.push_back(ToVectorTy(CI->getArgOperand(i)->getType(), VF)); in getVectorIntrinsicCost()
2725 return TTI.getIntrinsicInstrCost(ID, RetTy, Tys); in getVectorIntrinsicCost()
3319 SmallVector<Type *, 4> Tys; in vectorizeBlockInLoop() local
3321 Tys.push_back(ToVectorTy(CI->getArgOperand(i)->getType(), VF)); in vectorizeBlockInLoop()
[all …]

12