Home
last modified time | relevance | path

Searched refs:getTypeID (Results 1 – 25 of 55) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h137 TypeID getTypeID() const { return ID; } in getTypeID() function
140 bool isVoidTy() const { return getTypeID() == VoidTyID; } in isVoidTy()
143 bool isHalfTy() const { return getTypeID() == HalfTyID; } in isHalfTy()
146 bool isBFloatTy() const { return getTypeID() == BFloatTyID; } in isBFloatTy()
150 return getTypeID() == BFloatTyID || getTypeID() == HalfTyID; in is16bitFPTy()
154 bool isFloatTy() const { return getTypeID() == FloatTyID; } in isFloatTy()
157 bool isDoubleTy() const { return getTypeID() == DoubleTyID; } in isDoubleTy()
160 bool isX86_FP80Ty() const { return getTypeID() == X86_FP80TyID; } in isX86_FP80Ty()
163 bool isFP128Ty() const { return getTypeID()
[all...]
H A DDerivedTypes.h93 return T->getTypeID() == IntegerTyID; in classof()
146 return T->getTypeID() == FunctionTyID; in classof()
354 return T->getTypeID() == StructTyID; in classof()
394 return T->getTypeID() == ArrayTyID; in classof()
475 switch(VTy->getElementType()->getTypeID()) { in getTruncatedElementVectorType()
533 return T->getTypeID() == FixedVectorTyID || in classof()
534 T->getTypeID() == ScalableVectorTyID; in classof()
579 return T->getTypeID() == FixedVectorTyID; in classof()
637 return T->getTypeID() == ScalableVectorTyID; in classof()
683 return T->getTypeID() == PointerTyID; in classof()
[all …]
H A DTypedPointerType.h48 return T->getTypeID() == TypedPointerTyID; in classof()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp82 static char getTypeID(Type *Ty) { in getTypeID() function
83 switch (Ty->getTypeID()) { in getTypeID()
114 ExtName += getTypeID(FT->getReturnType()); in lookupFunction()
116 ExtName += getTypeID(T); in lookupFunction()
134 switch (Ty->getTypeID()) { in ffiTypeFor()
156 switch (Ty->getTypeID()) { in ffiValueFor()
245 if (RetTy->getTypeID() != Type::VoidTyID) in ffiInvoke()
248 switch (RetTy->getTypeID()) { in ffiInvoke()
H A DExecution.cpp50 switch (Ty->getTypeID()) { in executeFNegInst()
110 switch (Ty->getTypeID()) { in executeFAddInst()
121 switch (Ty->getTypeID()) { in executeFSubInst()
132 switch (Ty->getTypeID()) { in executeFMulInst()
143 switch (Ty->getTypeID()) { in executeFDivInst()
154 switch (Ty->getTypeID()) { in executeFRemInst()
195 switch (Ty->getTypeID()) { in executeICMP_EQ()
209 switch (Ty->getTypeID()) { in executeICMP_NE()
223 switch (Ty->getTypeID()) { in executeICMP_ULT()
237 switch (Ty->getTypeID()) { in executeICMP_SLT()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp67 return getTypeID() == ScalableVectorTyID || isScalableTargetExtTy(); in isScalableTy()
71 switch (getTypeID()) { in getFltSemantics()
167 switch (getTypeID()) { in getPrimitiveSizeInBits()
210 if (getTypeID() == HalfTyID) return 11; in getFPMantissaWidth()
211 if (getTypeID() == BFloatTyID) return 8; in getFPMantissaWidth()
212 if (getTypeID() == FloatTyID) return 24; in getFPMantissaWidth()
213 if (getTypeID() == DoubleTyID) return 53; in getFPMantissaWidth()
214 if (getTypeID() == X86_FP80TyID) return 64; in getFPMantissaWidth()
215 if (getTypeID() == FP128TyID) return 113; in getFPMantissaWidth()
216 assert(getTypeID() == PPC_FP128TyID && "unknown fp type"); in getFPMantissaWidth()
[all …]
H A DStructuralHash.cpp40 hash(ValueType->getTypeID()); in update()
141 hash(GV.getValueType()->getTypeID());
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp354 unsigned getTypeID(Type *T, const Value *V = nullptr);
514 unsigned DXILBitcodeWriter::getTypeID(Type *T, const Value *V) { in getTypeID() function in DXILBitcodeWriter
519 return VE.getTypeID(T); in getTypeID()
522 return VE.getTypeID(It->second); in getTypeID()
528 return VE.getTypeID(T); in getTypeID()
529 return VE.getTypeID(I8PtrTy); in getTypeID()
537 return VE.getTypeID(PtrTy->getElementType()); in getGlobalObjectValueTypeID()
539 return VE.getTypeID(T); in getGlobalObjectValueTypeID()
1017 switch (T->getTypeID()) { in writeTypeTable()
1063 TypeVals.push_back(getTypeID(PTy->getElementType())); in writeTypeTable()
[all …]
H A DDXILValueEnumerator.h165 unsigned getTypeID(Type *T) const { in getTypeID() function
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp72 switch (T->getTypeID()) { in whichFPReturnVariant()
112 TypeID ArgTypeID = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
123 TypeID ArgTypeID0 = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
124 TypeID ArgTypeID1 = F.getFunctionType()->getParamType(1)->getTypeID(); in whichFPParamVariantNeeded()
160 switch (ArgType->getTypeID()) { in needsFPStubFromParams()
H A DMipsOs16.cpp52 switch (RetType->getTypeID()) { in needsFPFromSig()
61 switch (Arg.getType()->getTypeID()) { in needsFPFromSig()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.h111 return T && T->getTypeID() == Type::TypedPointerTyID; in isTypedPointerTy()
116 return T && T->getTypeID() == Type::PointerTyID; in isUntypedPointerTy()
128 return SubT->getTypeID() == Type::PointerTyID in getPointerAddressSpace()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp972 Record.push_back(VE.getTypeID(Attr.getValueAsType())); in writeAttributeGroupTable()
1081 switch (T->getTypeID()) { in writeTypeTable()
1115 TypeVals.push_back(VE.getTypeID(FT->getReturnType())); in writeTypeTable()
1117 TypeVals.push_back(VE.getTypeID(FT->getParamType(i))); in writeTypeTable()
1127 TypeVals.push_back(VE.getTypeID(ET)); in writeTypeTable()
1152 TypeVals.push_back(VE.getTypeID(AT->getElementType())); in writeTypeTable()
1163 TypeVals.push_back(VE.getTypeID(VT->getElementType())); in writeTypeTable()
1175 TypeVals.push_back(VE.getTypeID(InnerTy)); in writeTypeTable()
1437 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV.getValueType())); in writeModuleInfo()
1536 Vals.push_back(VE.getTypeID(GV.getValueType())); in writeModuleInfo()
[all …]
H A DValueEnumerator.h166 unsigned getTypeID(Type *T) const { in getTypeID() function
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DValueList.h65 unsigned getTypeID(unsigned ValNo) const { in getTypeID() function
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DWindowsResourceDumper.cpp61 printResourceTypeName(Ref.getTypeID(), OS); in printEntry()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DValueTypes.cpp232 switch (Ty->getTypeID()) { in getVT()
275 switch (Ty->getTypeID()) { in getEVT()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp271 switch (Cnt->getType()->getTypeID()) { in lowerOperand()
355 if (Ty->getTypeID() == Type::VoidTyID) in printReturnValStr()
1198 switch (ETy->getTypeID()) { in printModuleLevelGV()
1393 switch (Ty->getTypeID()) { in getPTXFundamentalTypeStr()
1480 switch (ETy->getTypeID()) { in emitPTXGlobalVariable()
1785 if (Fp->getType()->getTypeID() == Type::FloatTyID) { in printFPConstant()
1789 } else if (Fp->getType()->getTypeID() == Type::DoubleTyID) { in printFPConstant()
1864 switch (CPV->getType()->getTypeID()) { in bufferLEByte()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp57 switch (unwrap(TyRef)->getTypeID()) { in LLVMCreateGenericValueOfFloat()
88 switch (unwrap(TyRef)->getTypeID()) { in LLVMGenericValueToFloat()
H A DExecutionEngine.cpp589 switch (C->getType()->getTypeID()) { in getConstantValue()
761 switch (Op0->getType()->getTypeID()) { in getConstantValue()
800 switch (CE->getOperand(0)->getType()->getTypeID()) { in getConstantValue()
901 switch (C->getType()->getTypeID()) { in getConstantValue()
1045 switch (Ty->getTypeID()) { in StoreValueToMemory()
1099 switch (Ty->getTypeID()) { in LoadValueFromMemory()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp536 if (int Res = cmpNumbers(TyL->getTypeID(), TyR->getTypeID())) in cmpTypes()
539 switch (TyL->getTypeID()) { in cmpTypes()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DWindowsResource.cpp194 printResourceTypeName(Entry.getTypeID(), OS); in makeDuplicateResourceError()
314 Entry.getTypeID() == /* RT_MANIFEST */ 24 && in shouldIgnoreDuplicate()
488 return addIDChild(Entry.getTypeID()); in addTypeNode()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DWindowsResource.h103 uint16_t getTypeID() const { return TypeID; } in getTypeID() function
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp70 Type::TypeID T = Ty->getTypeID(); in getOverloadKind()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp296 switch (Ty->getTypeID()) { in getSmallestAddressableSize()

123