Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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()
148 bool isFloatTy() const { return getTypeID() == FloatTyID; } in isFloatTy()
151 bool isDoubleTy() const { return getTypeID() == DoubleTyID; } in isDoubleTy()
154 bool isX86_FP80Ty() const { return getTypeID() == X86_FP80TyID; } in isX86_FP80Ty()
157 bool isFP128Ty() const { return getTypeID() == FP128TyID; } in isFP128Ty()
160 bool isPPC_FP128Ty() const { return getTypeID() == PPC_FP128TyID; } in isPPC_FP128Ty()
164 return getTypeID() == HalfTyID || getTypeID() == BFloatTyID || in isFloatingPointTy()
[all …]
H A DDerivedTypes.h92 return T->getTypeID() == IntegerTyID; in classof()
142 return T->getTypeID() == FunctionTyID; in classof()
342 return T->getTypeID() == StructTyID; in classof()
382 return T->getTypeID() == ArrayTyID; in classof()
463 switch(VTy->getElementType()->getTypeID()) { in getTruncatedElementVectorType()
521 return T->getTypeID() == FixedVectorTyID || in classof()
522 T->getTypeID() == ScalableVectorTyID; in classof()
567 return T->getTypeID() == FixedVectorTyID; in classof()
625 return T->getTypeID() == ScalableVectorTyID; in classof()
689 return T->getTypeID() == PointerTyID; in classof()
H A DDataLayout.h657 switch (Ty->getTypeID()) { in getTypeSizeInBits()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/
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 …]
H A DExternalFunctions.cpp73 static char getTypeID(Type *Ty) { in getTypeID() function
74 switch (Ty->getTypeID()) { in getTypeID()
105 ExtName += getTypeID(FT->getReturnType()); in lookupFunction()
107 ExtName += getTypeID(T); in lookupFunction()
124 switch (Ty->getTypeID()) { in ffiTypeFor()
145 switch (Ty->getTypeID()) { in ffiValueFor()
233 if (RetTy->getTypeID() != Type::VoidTyID) in ffiInvoke()
236 switch (RetTy->getTypeID()) { in ffiInvoke()
/netbsd-src/external/apache2/llvm/dist/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.cpp51 switch (RetType->getTypeID()) { in needsFPFromSig()
60 switch (Arg.getType()->getTypeID()) { in needsFPFromSig()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DType.cpp123 switch (getTypeID()) { in getPrimitiveSizeInBits()
156 if (getTypeID() == HalfTyID) return 11; in getFPMantissaWidth()
157 if (getTypeID() == BFloatTyID) return 8; in getFPMantissaWidth()
158 if (getTypeID() == FloatTyID) return 24; in getFPMantissaWidth()
159 if (getTypeID() == DoubleTyID) return 53; in getFPMantissaWidth()
160 if (getTypeID() == X86_FP80TyID) return 64; in getFPMantissaWidth()
161 if (getTypeID() == FP128TyID) return 113; in getFPMantissaWidth()
162 assert(getTypeID() == PPC_FP128TyID && "unknown fp type"); in getFPMantissaWidth()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp814 Record.push_back(VE.getTypeID(Attr.getValueAsType())); in writeAttributeGroupTable()
918 switch (T->getTypeID()) { in writeTypeTable()
949 TypeVals.push_back(VE.getTypeID(PTy->getElementType())); in writeTypeTable()
961 TypeVals.push_back(VE.getTypeID(FT->getReturnType())); in writeTypeTable()
963 TypeVals.push_back(VE.getTypeID(FT->getParamType(i))); in writeTypeTable()
974 TypeVals.push_back(VE.getTypeID(*I)); in writeTypeTable()
999 TypeVals.push_back(VE.getTypeID(AT->getElementType())); in writeTypeTable()
1010 TypeVals.push_back(VE.getTypeID(VT->getElementType())); in writeTypeTable()
1236 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV.getValueType())); in writeModuleInfo()
1335 Vals.push_back(VE.getTypeID(GV.getValueType())); in writeModuleInfo()
[all …]
H A DValueEnumerator.h166 unsigned getTypeID(Type *T) const { in getTypeID() function
H A DValueEnumerator.cpp580 return getTypeID(LHS.first->getType()) < getTypeID(RHS.first->getType()); in OptimizeConstants()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A DWindowsResourceDumper.cpp61 printResourceTypeName(Ref.getTypeID(), OS); in printEntry()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp263 switch (Cnt->getType()->getTypeID()) { in lowerOperand()
340 if (Ty->getTypeID() == Type::VoidTyID) in printReturnValStr()
1174 switch (ETy->getTypeID()) { in printModuleLevelGV()
1274 switch (Ty->getTypeID()) { in getPTXFundamentalTypeStr()
1347 switch (ETy->getTypeID()) { in emitPTXGlobalVariable()
1685 if (Fp->getType()->getTypeID() == Type::FloatTyID) { in printFPConstant()
1689 } else if (Fp->getType()->getTypeID() == Type::DoubleTyID) { in printFPConstant()
1788 switch (CPV->getType()->getTypeID()) { in bufferLEByte()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp56 switch (unwrap(TyRef)->getTypeID()) { in LLVMCreateGenericValueOfFloat()
87 switch (unwrap(TyRef)->getTypeID()) { in LLVMGenericValueToFloat()
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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp141 if (ElemType->getTypeID() != Type::IntegerTyID) in shouldPrintAsStr()
424 } else if (ArgType->getTypeID() == Type::PointerTyID) { in lowerPrintfForGpu()
H A DAMDGPUHSAMetadataStreamer.cpp143 switch (Ty->getTypeID()) { in getTypeName()
562 switch (Ty->getTypeID()) { in getTypeName()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp426 if (int Res = cmpNumbers(TyL->getTypeID(), TyR->getTypeID())) in cmpTypes()
429 switch (TyL->getTypeID()) { in cmpTypes()
H A DAMDGPUEmitPrintf.cpp51 if (Ty->getTypeID() == Type::DoubleTyID) { in fitArgInto64Bits()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DWindowsResource.cpp195 printResourceTypeName(Entry.getTypeID(), OS); in makeDuplicateResourceError()
315 Entry.getTypeID() == /* RT_MANIFEST */ 24 && in shouldIgnoreDuplicate()
489 return addIDChild(Entry.getTypeID()); in addTypeNode()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DWindowsResource.h103 uint16_t getTypeID() const { return TypeID; } in getTypeID() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DValueTypes.cpp502 switch (Ty->getTypeID()) { in getVT()
534 switch (Ty->getTypeID()) { in getEVT()
H A DIntrinsicLowering.cpp205 switch (CI->getArgOperand(0)->getType()->getTypeID()) { in ReplaceFPIntrinsicWithCall()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp297 switch (Ty->getTypeID()) { in getSmallestAddressableSize()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Linker/
H A DIRMover.cpp117 if (DstTy->getTypeID() != SrcTy->getTypeID()) in areTypesIsomorphic()
294 switch (Ty->getTypeID()) { in get()

12