Searched refs:LLVMTy (Results 1 – 9 of 9) sorted by relevance
51 Type convertToIceType(llvm::Type *LLVMTy) const { in convertToIceType() argument52 auto Pos = LLVM2IceMap.find(LLVMTy); in convertToIceType()54 return convertToIceTypeOther(LLVMTy); in convertToIceType()63 void addLLVMType(Type Ty, llvm::Type *LLVMTy);66 Type convertToIceTypeOther(llvm::Type *LLVMTy) const;
46 void TypeConverter::addLLVMType(Type Ty, llvm::Type *LLVMTy) { in addLLVMType() argument47 LLVM2IceMap[LLVMTy] = Ty; in addLLVMType()50 Type TypeConverter::convertToIceTypeOther(llvm::Type *LLVMTy) const { in convertToIceTypeOther()51 switch (LLVMTy->getTypeID()) { in convertToIceTypeOther()
196 Ice::Type convertToIceType(Type *LLVMTy) const { in convertToIceType()197 Ice::Type IceTy = TypeConverter.convertToIceType(LLVMTy); in convertToIceType()200 LLVMObjectAsString(LLVMTy)); in convertToIceType()
580 Ice::Type convertToIceTypeError(Type *LLVMTy);640 Ice::Type TopLevelParser::convertToIceTypeError(Type *LLVMTy) { in convertToIceTypeError() argument643 StrBuf << "Invalid LLVM type: " << *LLVMTy; in convertToIceTypeError()
34 Type *LLVMTy; member37 LLVM_CONSTEXPR EVT() : V(MVT::INVALID_SIMPLE_VALUE_TYPE), LLVMTy(nullptr) {} in EVT()38 LLVM_CONSTEXPR EVT(MVT::SimpleValueType SVT) : V(SVT), LLVMTy(nullptr) {} in EVT()39 LLVM_CONSTEXPR EVT(MVT S) : V(S), LLVMTy(nullptr) {} in EVT()48 return LLVMTy != VT.LLVMTy;350 return (intptr_t)(LLVMTy); in getRawBits()358 return L.LLVMTy < R.LLVMTy; in operator()
23 LLVMContext &Context = LLVMTy->getContext(); in changeExtendedTypeToInteger()28 LLVMContext &Context = LLVMTy->getContext(); in changeExtendedVectorElementTypeToInteger()35 VT.LLVMTy = IntegerType::get(Context, BitWidth); in getExtendedIntegerVT()43 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements); in getExtendedVectorVT()50 return LLVMTy->isFPOrFPVectorTy(); in isExtendedFloatingPoint()55 return LLVMTy->isIntOrIntVectorTy(); in isExtendedInteger()60 return LLVMTy->isIntegerTy(); in isExtendedScalarInteger()65 return LLVMTy->isVectorTy(); in isExtendedVector()102 return EVT::getEVT(cast<VectorType>(LLVMTy)->getElementType()); in getExtendedVectorElementType()107 return cast<VectorType>(LLVMTy)->getNumElements(); in getExtendedVectorNumElements()[all …]
18 LLVMContext &Context = LLVMTy->getContext(); in changeExtendedTypeToInteger()23 LLVMContext &Context = LLVMTy->getContext(); in changeExtendedVectorElementTypeToInteger()30 VT.LLVMTy = IntegerType::get(Context, BitWidth); in getExtendedIntegerVT()38 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements); in getExtendedVectorVT()45 return LLVMTy->isFPOrFPVectorTy(); in isExtendedFloatingPoint()50 return LLVMTy->isIntOrIntVectorTy(); in isExtendedInteger()55 return LLVMTy->isIntegerTy(); in isExtendedScalarInteger()60 return LLVMTy->isVectorTy(); in isExtendedVector()97 return EVT::getEVT(cast<VectorType>(LLVMTy)->getElementType()); in getExtendedVectorElementType()102 return cast<VectorType>(LLVMTy)->getNumElements(); in getExtendedVectorNumElements()[all …]
37 Type *LLVMTy = nullptr; member51 return LLVMTy != VT.LLVMTy;395 return (intptr_t)(LLVMTy); in getRawBits()403 return L.LLVMTy < R.LLVMTy; in operator()
2086 llvm::Type* LLVMTy = CGM.getTypes().ConvertType(RetTy); in EmitFunctionProlog() local2087 llvm::Constant* Zero = llvm::Constant::getNullValue(LLVMTy); in EmitFunctionProlog()