Home
last modified time | relevance | path

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

12

/external/llvm/lib/IR/
DFunction.cpp423 std::string Intrinsic::getName(ID id, ArrayRef<Type*> Tys) { in getName() argument
431 if (Tys.empty()) in getName()
434 for (unsigned i = 0; i < Tys.size(); ++i) { in getName()
435 if (PointerType* PTyp = dyn_cast<PointerType>(Tys[i])) { in getName()
439 else if (Tys[i]) in getName()
440 Result += "." + EVT::getEVT(Tys[i]).getEVTString(); in getName()
643 ArrayRef<Type*> Tys, LLVMContext &Context) { in DecodeFixedType() argument
660 return VectorType::get(DecodeFixedType(Infos, Tys, Context),D.Vector_Width); in DecodeFixedType()
662 return PointerType::get(DecodeFixedType(Infos, Tys, Context), in DecodeFixedType()
668 Elts[i] = DecodeFixedType(Infos, Tys, Context); in DecodeFixedType()
[all …]
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()
112 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; in CreateMemMove() local
114 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memmove, Tys); in CreateMemMove()
DAutoUpgrade.cpp97 Type *Tys[2] = { F->getReturnType(), F->arg_begin()->getType() }; in UpgradeIntrinsicFunction1() local
98 if (F->getName() != Intrinsic::getName(Intrinsic::objectsize, Tys)) { in UpgradeIntrinsicFunction1()
101 Intrinsic::objectsize, Tys); in UpgradeIntrinsicFunction1()
188 Type *Tys[3] = { in UpgradeGlobalStructors() local
194 StructType::get(GV->getContext(), Tys, /*isPacked=*/false); in UpgradeGlobalStructors()
/external/llvm/include/llvm/IR/
DLLVMContext.h184 inline LLVMContext **unwrap(LLVMContextRef* Tys) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
185 return reinterpret_cast<LLVMContext**>(Tys); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
188 inline LLVMContextRef *wrap(const LLVMContext **Tys) { in wrap() argument
189 return reinterpret_cast<LLVMContextRef*>(const_cast<LLVMContext**>(Tys)); in wrap()
DIntrinsics.h48 std::string getName(ID id, ArrayRef<Type*> Tys = None);
53 ArrayRef<Type*> Tys = None);
70 Function *getDeclaration(Module *M, ID id, ArrayRef<Type*> Tys = None);
DType.h475 inline Type **unwrap(LLVMTypeRef* Tys) {
476 return reinterpret_cast<Type**>(Tys);
479 inline LLVMTypeRef *wrap(Type **Tys) {
480 return reinterpret_cast<LLVMTypeRef*>(const_cast<Type**>(Tys));
/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/chromium_org/third_party/mesa/src/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.cpp140 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemset() local
142 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops); in EmitTargetCodeForMemset()
154 Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemset()
156 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops); in EmitTargetCodeForMemset()
243 SDVTList Tys = DAG.getVTList(MVT::Other, MVT::Glue); in EmitTargetCodeForMemcpy() local
245 SDValue RepMovs = DAG.getNode(X86ISD::REP_MOVS, dl, Tys, Ops); in EmitTargetCodeForMemcpy()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp416 llvm::Type *Tys[] = { ResType, Builder.getInt8PtrTy(0) }; in EmitBuiltinExpr() local
417 Value *F = CGM.getIntrinsic(Intrinsic::objectsize, Tys); in EmitBuiltinExpr()
2444 SmallVector<llvm::Type *, 3> Tys; in LookupNeonLLVMIntrinsic() local
2451 Tys.push_back(Ty); in LookupNeonLLVMIntrinsic()
2461 Tys.push_back(ArgType); in LookupNeonLLVMIntrinsic()
2464 Tys.push_back(ArgType); in LookupNeonLLVMIntrinsic()
2467 Tys.push_back(FloatTy); in LookupNeonLLVMIntrinsic()
2469 return CGM.getIntrinsic(IntrinsicID, Tys); in LookupNeonLLVMIntrinsic()
2596 llvm::Type *Tys[] = { VTy, VecFlt }; in EmitCommonNeonBuiltinExpr() local
2597 Function *F = CGM.getIntrinsic(LLVMIntrinsic, Tys); in EmitCommonNeonBuiltinExpr()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVVMReflect.cpp200 Type *Tys[1]; in runOnModule() local
207 Tys[0] = PointerType::get(I8Ty, i); in runOnModule()
208 Name = Intrinsic::getName(Intrinsic::nvvm_reflect, Tys); in runOnModule()
/external/llvm/lib/CodeGen/
DBasicTargetTransformInfo.cpp118 ArrayRef<Type*> Tys) const override;
533 ArrayRef<Type *> Tys) const { in getIntrinsicInstrCost()
544 for (unsigned i = 0, ie = Tys.size(); i != ie; ++i) { in getIntrinsicInstrCost()
545 if (Tys[i]->isVectorTy()) { in getIntrinsicInstrCost()
546 ScalarizationCost += getScalarizationOverhead(Tys[i], false, true); in getIntrinsicInstrCost()
611 Tys); in getIntrinsicInstrCost()
DGlobalMerge.cpp176 std::vector<Type*> Tys; in doMerge() local
187 Tys.push_back(Ty); in doMerge()
202 StructType *MergedTy = StructType::get(M.getContext(), Tys); in doMerge()
/external/llvm/lib/Analysis/
DCostModel.cpp507 SmallVector<Type*, 4> Tys; in getInstructionCost() local
509 Tys.push_back(II->getArgOperand(J)->getType()); in getInstructionCost()
512 Tys); in getInstructionCost()
DTargetTransformInfo.cpp215 ArrayRef<Type *> Tys) const { in getIntrinsicInstrCost()
216 return PrevTTI->getIntrinsicInstrCost(ID, RetTy, Tys); in getIntrinsicInstrCost()
600 ArrayRef<Type*> Tys) const override { in getIntrinsicInstrCost()
/external/llvm/examples/BrainF/
DBrainF.cpp58 Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) }; in header() local
60 Tys); in header()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h403 ArrayRef<Type *> Tys) const;
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp1116 SmallVector<Type*, 4> Tys; in areInstsCompatible() local
1118 Tys.push_back(CI->getArgOperand(i)->getType()); in areInstsCompatible()
1119 unsigned ICost = TTI->getIntrinsicInstrCost(IID, IT1, Tys); in areInstsCompatible()
1121 Tys.clear(); in areInstsCompatible()
1124 Tys.push_back(CJ->getArgOperand(i)->getType()); in areInstsCompatible()
1125 unsigned JCost = TTI->getIntrinsicInstrCost(IID, JT1, Tys); in areInstsCompatible()
1127 Tys.clear(); in areInstsCompatible()
1133 Tys.push_back(CI->getArgOperand(i)->getType()); in areInstsCompatible()
1135 Tys.push_back(getVecTypeForPair(CI->getArgOperand(i)->getType(), in areInstsCompatible()
1140 unsigned VCost = TTI->getIntrinsicInstrCost(IID, RetTy, Tys); in areInstsCompatible()
[all …]
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c332 value Tys = alloc(LLVMCountParamTypes(FunTy), 0); in llvm_param_types() local
333 LLVMGetParamTypes(FunTy, (LLVMTypeRef *) Tys); in llvm_param_types()
334 return Tys; in llvm_param_types()
382 value Tys = alloc(LLVMCountStructElementTypes(StructTy), 0); in llvm_struct_element_types() local
383 LLVMGetStructElementTypes(StructTy, (LLVMTypeRef *) Tys); in llvm_struct_element_types()
384 return Tys; in llvm_struct_element_types()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp333 Type *Tys[3] = { VoidPtrTy, VoidPtrTy, Type::getInt64Ty(Context) }; in HandleByValArgumentInit() local
334 Function *MemCpyFn = Intrinsic::getDeclaration(M, Intrinsic::memcpy, Tys); in HandleByValArgumentInit()

12