Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h136 TypeID getTypeID() const { return ID; } in getTypeID() function
139 bool isVoidTy() const { return getTypeID() == VoidTyID; } in isVoidTy()
142 bool isHalfTy() const { return getTypeID() == HalfTyID; } in isHalfTy()
145 bool isBFloatTy() const { return getTypeID() == BFloatTyID; } in isBFloatTy()
149 return getTypeID() == BFloatTyID || getTypeID() == HalfTyID; in is16bitFPTy()
153 bool isFloatTy() const { return getTypeID() == FloatTyID; } in isFloatTy()
156 bool isDoubleTy() const { return getTypeID() == DoubleTyID; } in isDoubleTy()
159 bool isX86_FP80Ty() const { return getTypeID() == X86_FP80TyID; } in isX86_FP80Ty()
162 bool isFP128Ty() const { return getTypeID() == FP128TyID; } in isFP128Ty()
165 bool isPPC_FP128Ty() const { return getTypeID() == PPC_FP128TyID; } in isPPC_FP128Ty()
[all …]
H A DDerivedTypes.h95 return T->getTypeID() == IntegerTyID; in classof()
148 return T->getTypeID() == FunctionTyID; in classof()
381 return T->getTypeID() == StructTyID; in classof()
421 return T->getTypeID() == ArrayTyID; in classof()
502 switch(VTy->getElementType()->getTypeID()) { in getTruncatedElementVectorType()
586 return T->getTypeID() == FixedVectorTyID || in classof()
587 T->getTypeID() == ScalableVectorTyID; in classof()
632 return T->getTypeID() == FixedVectorTyID; in classof()
691 return T->getTypeID() == ScalableVectorTyID; in classof()
744 return T->getTypeID() == PointerTyID; in classof()
[all …]
H A DTypedPointerType.h50 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/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp363 unsigned getTypeID(Type *T, const Value *V = nullptr);
523 unsigned DXILBitcodeWriter::getTypeID(Type *T, const Value *V) { in getTypeID() function in DXILBitcodeWriter
528 return VE.getTypeID(T); in getTypeID()
531 return VE.getTypeID(It->second); in getTypeID()
537 return VE.getTypeID(T); in getTypeID()
538 return VE.getTypeID(I8PtrTy); in getTypeID()
546 return VE.getTypeID(PtrTy->getElementType()); in getGlobalObjectValueTypeID()
548 return VE.getTypeID(T); in getGlobalObjectValueTypeID()
1020 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/IR/
H A DType.cpp67 return getTypeID() == ScalableVectorTyID || isScalableTargetExtTy(); in isScalableTy()
108 switch (getTypeID()) { in getFltSemantics()
199 switch (getTypeID()) { in getPrimitiveSizeInBits()
240 if (getTypeID() == HalfTyID) return 11; in getFPMantissaWidth()
241 if (getTypeID() == BFloatTyID) return 8; in getFPMantissaWidth()
242 if (getTypeID() == FloatTyID) return 24; in getFPMantissaWidth()
243 if (getTypeID() == DoubleTyID) return 53; in getFPMantissaWidth()
244 if (getTypeID() == X86_FP80TyID) return 64; in getFPMantissaWidth()
245 if (getTypeID() == FP128TyID) return 113; in getFPMantissaWidth()
246 assert(getTypeID() == PPC_FP128TyID && "unknown fp type"); in getFPMantissaWidth()
[all …]
H A DStructuralHash.cpp51 Hashes.emplace_back(ValueType->getTypeID()); in hashType()
303 Hashes.emplace_back(GV.getValueType()->getTypeID()); in update()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp71 switch (T->getTypeID()) { in whichFPReturnVariant()
111 TypeID ArgTypeID = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
122 TypeID ArgTypeID0 = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
123 TypeID ArgTypeID1 = F.getFunctionType()->getParamType(1)->getTypeID(); in whichFPParamVariantNeeded()
159 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/Bitcode/Writer/
H A DBitcodeWriter.cpp1040 Record.push_back(VE.getTypeID(Attr.getValueAsType())); in writeAttributeGroupTable()
1149 switch (T->getTypeID()) { in writeTypeTable()
1184 TypeVals.push_back(VE.getTypeID(FT->getReturnType())); in writeTypeTable()
1186 TypeVals.push_back(VE.getTypeID(FT->getParamType(i))); in writeTypeTable()
1196 TypeVals.push_back(VE.getTypeID(ET)); in writeTypeTable()
1221 TypeVals.push_back(VE.getTypeID(AT->getElementType())); in writeTypeTable()
1232 TypeVals.push_back(VE.getTypeID(VT->getElementType())); in writeTypeTable()
1244 TypeVals.push_back(VE.getTypeID(InnerTy)); in writeTypeTable()
1505 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV.getValueType())); in writeModuleInfo()
1604 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/include/llvm/Support/
H A DAArch64BuildAttributes.h47 SubsectionType getTypeID(StringRef Type);
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.h279 return T && T->getTypeID() == Type::TypedPointerTyID; in isTypedPointerTy()
284 return T && T->getTypeID() == Type::PointerTyID; in isUntypedPointerTy()
296 return SubT->getTypeID() == Type::PointerTyID in getPointerAddressSpace()
H A DSPIRVIRMapping.h156 return irhandle_ptr(WrpTy, Ty->getTypeID(), STK_ExplictLayoutType); in irhandle_explict_layout_type()
161 return irhandle_ptr(WrpTy, Ty->getTypeID(), STK_Type); in handle()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp186 switch (Cnt->getType()->getTypeID()) { in lowerOperand()
254 if (Ty->getTypeID() == Type::VoidTyID) in printReturnValStr()
1003 switch (ETy->getTypeID()) { in printModuleLevelGV()
1195 switch (Ty->getTypeID()) { in getPTXFundamentalTypeStr()
1276 switch (ETy->getTypeID()) { in emitPTXGlobalVariable()
1534 if (Fp->getType()->getTypeID() == Type::FloatTyID) { in printFPConstant()
1538 } else if (Fp->getType()->getTypeID() == Type::DoubleTyID) { in printFPConstant()
1610 switch (CPV->getType()->getTypeID()) { in bufferLEByte()
/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/lib/Support/
H A DAArch64BuildAttributes.cpp68 SubsectionType AArch64BuildAttributes::getTypeID(StringRef Type) { in getTypeID() function in AArch64BuildAttributes
/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.cpp249 switch (Ty->getTypeID()) { in getVT()
300 switch (Ty->getTypeID()) { in getEVT()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp56 switch (unwrap(TyRef)->getTypeID()) { in LLVMCreateGenericValueOfFloat()
87 switch (unwrap(TyRef)->getTypeID()) { in LLVMGenericValueToFloat()
H A DExecutionEngine.cpp588 switch (C->getType()->getTypeID()) { in getConstantValue()
760 switch (Op0->getType()->getTypeID()) { in getConstantValue()
799 switch (CE->getOperand(0)->getType()->getTypeID()) { in getConstantValue()
900 switch (C->getType()->getTypeID()) { in getConstantValue()
1041 switch (Ty->getTypeID()) { in StoreValueToMemory()
1095 switch (Ty->getTypeID()) { in LoadValueFromMemory()
/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/lib/Transforms/Utils/
H A DFunctionComparator.cpp550 if (int Res = cmpNumbers(TyL->getTypeID(), TyR->getTypeID())) in cmpTypes()
553 switch (TyL->getTypeID()) { in cmpTypes()

123