Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/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() == FP128TyID; } in isFP128Ty()
166 bool isPPC_FP128Ty() const { return getTypeID() == PPC_FP128TyID; } in isPPC_FP128Ty()
[all …]
H A DDerivedTypes.h93 return T->getTypeID() == IntegerTyID; in classof()
143 return T->getTypeID() == FunctionTyID; in classof()
340 return T->getTypeID() == StructTyID; in classof()
380 return T->getTypeID() == ArrayTyID; in classof()
461 switch(VTy->getElementType()->getTypeID()) { in getTruncatedElementVectorType()
519 return T->getTypeID() == FixedVectorTyID || in classof()
520 T->getTypeID() == ScalableVectorTyID; in classof()
565 return T->getTypeID() == FixedVectorTyID; in classof()
623 return T->getTypeID() == ScalableVectorTyID; in classof()
702 return T->getTypeID() == PointerTyID; in classof()
[all …]
H A DTypedPointerType.h48 return T->getTypeID() == TypedPointerTyID; in classof()
H A DDataLayout.h678 switch (Ty->getTypeID()) { in getTypeSizeInBits()
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp354 unsigned getTypeID(Type *T, const Value *V = nullptr);
515 unsigned DXILBitcodeWriter::getTypeID(Type *T, const Value *V) { in getTypeID() function in DXILBitcodeWriter
520 return VE.getTypeID(T); in getTypeID()
523 return VE.getTypeID(It->second); in getTypeID()
529 return VE.getTypeID(T); in getTypeID()
530 return VE.getTypeID(I8PtrTy); in getTypeID()
538 return VE.getTypeID(PtrTy->getElementType()); in getGlobalObjectValueTypeID()
540 return VE.getTypeID(T); in getGlobalObjectValueTypeID()
1019 switch (T->getTypeID()) { in writeTypeTable()
1065 TypeVals.push_back(getTypeID(PTy->getElementType())); in writeTypeTable()
[all …]
H A DDXILValueEnumerator.h165 unsigned getTypeID(Type *T) const { in getTypeID() function
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DType.cpp67 switch (getTypeID()) { in getFltSemantics()
164 switch (getTypeID()) { in getPrimitiveSizeInBits()
197 if (getTypeID() == HalfTyID) return 11; in getFPMantissaWidth()
198 if (getTypeID() == BFloatTyID) return 8; in getFPMantissaWidth()
199 if (getTypeID() == FloatTyID) return 24; in getFPMantissaWidth()
200 if (getTypeID() == DoubleTyID) return 53; in getFPMantissaWidth()
201 if (getTypeID() == X86_FP80TyID) return 64; in getFPMantissaWidth()
202 if (getTypeID() == FP128TyID) return 113; in getFPMantissaWidth()
203 assert(getTypeID() == PPC_FP128TyID && "unknown fp type"); in getFPMantissaWidth()
679 ElemTy->isPointerTy() || ElemTy->getTypeID() == TypedPointerTyID; in isValidElementType()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp861 Record.push_back(VE.getTypeID(Attr.getValueAsType())); in writeAttributeGroupTable()
963 switch (T->getTypeID()) { in writeTypeTable()
994 TypeVals.push_back(VE.getTypeID(PTy->getNonOpaquePointerElementType())); in writeTypeTable()
1006 TypeVals.push_back(VE.getTypeID(FT->getReturnType())); in writeTypeTable()
1008 TypeVals.push_back(VE.getTypeID(FT->getParamType(i))); in writeTypeTable()
1018 TypeVals.push_back(VE.getTypeID(ET)); in writeTypeTable()
1043 TypeVals.push_back(VE.getTypeID(AT->getElementType())); in writeTypeTable()
1054 TypeVals.push_back(VE.getTypeID(VT->getElementType())); in writeTypeTable()
1066 TypeVals.push_back(VE.getTypeID(InnerTy)); in writeTypeTable()
1306 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV.getValueType())); in writeModuleInfo()
[all …]
H A DValueEnumerator.h166 unsigned getTypeID(Type *T) const { in getTypeID() function
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DValueList.h65 unsigned getTypeID(unsigned ValNo) const { in getTypeID() function
/openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/
H A DWindowsResourceDumper.cpp61 printResourceTypeName(Ref.getTypeID(), OS); in printEntry()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp264 switch (Cnt->getType()->getTypeID()) { in lowerOperand()
341 if (Ty->getTypeID() == Type::VoidTyID) in printReturnValStr()
1158 switch (ETy->getTypeID()) { in printModuleLevelGV()
1342 switch (Ty->getTypeID()) { in getPTXFundamentalTypeStr()
1427 switch (ETy->getTypeID()) { in emitPTXGlobalVariable()
1750 if (Fp->getType()->getTypeID() == Type::FloatTyID) { in printFPConstant()
1754 } else if (Fp->getType()->getTypeID() == Type::DoubleTyID) { in printFPConstant()
1821 switch (CPV->getType()->getTypeID()) { in bufferLEByte()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp589 switch (C->getType()->getTypeID()) { in getConstantValue()
749 switch (Op0->getType()->getTypeID()) { in getConstantValue()
788 switch (CE->getOperand(0)->getType()->getTypeID()) { in getConstantValue()
883 switch (C->getType()->getTypeID()) { in getConstantValue()
1022 switch (Ty->getTypeID()) { in StoreValueToMemory()
1073 switch (Ty->getTypeID()) { in LoadValueFromMemory()
H A DExecutionEngineBindings.cpp57 switch (unwrap(TyRef)->getTypeID()) { in LLVMCreateGenericValueOfFloat()
88 switch (unwrap(TyRef)->getTypeID()) { in LLVMGenericValueToFloat()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp443 if (int Res = cmpNumbers(TyL->getTypeID(), TyR->getTypeID())) in cmpTypes()
446 switch (TyL->getTypeID()) { in cmpTypes()
H A DAMDGPUEmitPrintf.cpp38 if (Ty->getTypeID() == Type::DoubleTyID) { in fitArgInto64Bits()
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DWindowsResource.cpp193 printResourceTypeName(Entry.getTypeID(), OS); in makeDuplicateResourceError()
313 Entry.getTypeID() == /* RT_MANIFEST */ 24 && in shouldIgnoreDuplicate()
487 return addIDChild(Entry.getTypeID()); in addTypeNode()
/openbsd-src/gnu/llvm/llvm/include/llvm/Object/
H A DWindowsResource.h103 uint16_t getTypeID() const { return TypeID; } in getTypeID() function
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp70 Type::TypeID T = Ty->getTypeID(); in getOverloadKind()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp296 switch (Ty->getTypeID()) { in getSmallestAddressableSize()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DValueTypes.cpp564 switch (Ty->getTypeID()) { in getVT()
596 switch (Ty->getTypeID()) { in getEVT()

123