Home
last modified time | relevance | path

Searched refs:LLVMTy (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceTypeConverter.h51 Type convertToIceType(llvm::Type *LLVMTy) const { in convertToIceType() argument
52 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;
DIceTypeConverter.cpp46 void TypeConverter::addLLVMType(Type Ty, llvm::Type *LLVMTy) { in addLLVMType() argument
47 LLVM2IceMap[LLVMTy] = Ty; in addLLVMType()
50 Type TypeConverter::convertToIceTypeOther(llvm::Type *LLVMTy) const { in convertToIceTypeOther()
51 switch (LLVMTy->getTypeID()) { in convertToIceTypeOther()
DIceConverter.cpp196 Ice::Type convertToIceType(Type *LLVMTy) const { in convertToIceType()
197 Ice::Type IceTy = TypeConverter.convertToIceType(LLVMTy); in convertToIceType()
200 LLVMObjectAsString(LLVMTy)); in convertToIceType()
DPNaClTranslator.cpp580 Ice::Type convertToIceTypeError(Type *LLVMTy);
640 Ice::Type TopLevelParser::convertToIceTypeError(Type *LLVMTy) { in convertToIceTypeError() argument
643 StrBuf << "Invalid LLVM type: " << *LLVMTy; in convertToIceTypeError()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DValueTypes.cpp23 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->isVectorTy(); in isExtendedVector()
76 return EVT::getEVT(cast<VectorType>(LLVMTy)->getElementType()); in getExtendedVectorElementType()
81 return cast<VectorType>(LLVMTy)->getNumElements(); in getExtendedVectorNumElements()
86 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits()
88 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy)) in getExtendedSizeInBits()
[all …]
/external/swiftshader/third_party/LLVM/utils/TableGen/
DTGValueTypes.cpp74 return dynamic_cast<const ExtendedIntegerType *>(LLVMTy) != 0; in isExtendedInteger()
79 return dynamic_cast<const ExtendedVectorType *>(LLVMTy) != 0; in isExtendedVector()
94 return static_cast<const ExtendedVectorType *>(LLVMTy)->getElementType(); in getExtendedVectorElementType()
99 return static_cast<const ExtendedVectorType *>(LLVMTy)->getNumElements(); in getExtendedVectorNumElements()
104 return LLVMTy->getSizeInBits(); in getExtendedSizeInBits()
/external/llvm/include/llvm/CodeGen/
DValueTypes.h34 Type *LLVMTy; member
37 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DValueTypes.cpp18 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 …]
/external/llvm/lib/IR/
DValueTypes.cpp23 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 …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DValueTypes.h383 Type *LLVMTy; member
387 LLVMTy(0) {} in EVT()
388 EVT(MVT::SimpleValueType SVT) : V(SVT), LLVMTy(0) { } in EVT()
389 EVT(MVT S) : V(S), LLVMTy(0) {} in EVT()
398 return LLVMTy != VT.LLVMTy;
674 return (intptr_t)(LLVMTy); in getRawBits()
682 return L.LLVMTy < R.LLVMTy; in operator()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DValueTypes.h37 Type *LLVMTy = nullptr; member
51 return LLVMTy != VT.LLVMTy;
395 return (intptr_t)(LLVMTy); in getRawBits()
403 return L.LLVMTy < R.LLVMTy; in operator()
/external/clang/lib/CodeGen/
DCGCall.cpp2086 llvm::Type* LLVMTy = CGM.getTypes().ConvertType(RetTy); in EmitFunctionProlog() local
2087 llvm::Constant* Zero = llvm::Constant::getNullValue(LLVMTy); in EmitFunctionProlog()