Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h163 return getTypeID() == HalfTyID || getTypeID() == BFloatTyID || in isFloatingPointTy()
164 getTypeID() == FloatTyID || getTypeID() == DoubleTyID || in isFloatingPointTy()
165 getTypeID() == X86_FP80TyID || getTypeID() == FP128TyID || in isFloatingPointTy()
170 switch (getTypeID()) { in getFltSemantics()
238 return getTypeID() == ScalableVectorTyID || getTypeID() == FixedVectorTyID; in isVectorTy()
254 return getTypeID() != FunctionTyID && getTypeID() != VoidTyID; in isFirstClassType()
268 return getTypeID() == StructTyID || getTypeID() == ArrayTyID; in isAggregateType()
277 getTypeID() == PointerTyID || getTypeID() == X86_MMXTyID ||
278 getTypeID() == X86_AMXTyID)
282 if (getTypeID() != StructTyID && getTypeID() != ArrayTyID && !isVectorTy())
[all …]
H A DDerivedTypes.h92 return T->getTypeID() == IntegerTyID; in classof()
142 return T->getTypeID() == FunctionTyID; in classof()
339 return T->getTypeID() == StructTyID; in classof()
379 return T->getTypeID() == ArrayTyID; in classof()
460 switch(VTy->getElementType()->getTypeID()) { in getTruncatedElementVectorType()
518 return T->getTypeID() == FixedVectorTyID || in classof()
519 T->getTypeID() == ScalableVectorTyID; in classof()
564 return T->getTypeID() == FixedVectorTyID; in classof()
622 return T->getTypeID() == ScalableVectorTyID; in classof()
706 return T->getTypeID() == PointerTyID; in classof()
H A DDataLayout.h657 switch (Ty->getTypeID()) { in getTypeSizeInBits()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
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()
146 switch (Ty->getTypeID()) { in ffiValueFor()
235 if (RetTy->getTypeID() != Type::VoidTyID) in ffiInvoke()
238 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-13.1/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.cpp51 switch (RetType->getTypeID()) { in needsFPFromSig()
60 switch (Arg.getType()->getTypeID()) { in needsFPFromSig()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp129 switch (getTypeID()) { in getPrimitiveSizeInBits()
162 if (getTypeID() == HalfTyID) return 11; in getFPMantissaWidth()
163 if (getTypeID() == BFloatTyID) return 8; in getFPMantissaWidth()
164 if (getTypeID() == FloatTyID) return 24; in getFPMantissaWidth()
165 if (getTypeID() == DoubleTyID) return 53; in getFPMantissaWidth()
166 if (getTypeID() == X86_FP80TyID) return 64; in getFPMantissaWidth()
167 if (getTypeID() == FP128TyID) return 113; in getFPMantissaWidth()
168 assert(getTypeID() == PPC_FP128TyID && "unknown fp type"); in getFPMantissaWidth()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp922 switch (T->getTypeID()) { in writeTypeTable()
978 TypeVals.push_back(VE.getTypeID(*I)); in writeTypeTable()
1495 Record.push_back(VE.getTypeID(V->getType())); in writeValueAsMetadata()
2446 Record.push_back(VE.getTypeID(LastTy)); in writeConstants()
2692 Vals.push_back(VE.getTypeID(V->getType())); in pushValueAndType()
2743 Vals.push_back(VE.getTypeID(I.getType())); in writeInstruction()
2901 Vals.push_back(VE.getTypeID(FTy)); in writeInstruction()
2983 Vals.push_back(VE.getTypeID(FTy)); in writeInstruction()
3029 Vals.push_back(VE.getTypeID(LP.getType())); in writeInstruction()
3067 Vals.push_back(VE.getTypeID(I.getType())); in writeInstruction()
[all …]
H A DValueEnumerator.h166 unsigned getTypeID(Type *T) const { in getTypeID() function
H A DValueEnumerator.cpp592 return getTypeID(LHS.first->getType()) < getTypeID(RHS.first->getType()); in OptimizeConstants()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DWindowsResourceDumper.cpp61 printResourceTypeName(Ref.getTypeID(), OS); in printEntry()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/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.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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp141 if (ElemType->getTypeID() != Type::IntegerTyID) in shouldPrintAsStr()
418 } else if (ArgType->getTypeID() == Type::PointerTyID) { in lowerPrintfForGpu()
H A DAMDGPUHSAMetadataStreamer.cpp143 switch (Ty->getTypeID()) { in getTypeName()
562 switch (Ty->getTypeID()) { in getTypeName()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DWindowsResource.h103 uint16_t getTypeID() const { return TypeID; } in getTypeID() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DValueTypes.cpp527 switch (Ty->getTypeID()) { in getVT()
559 switch (Ty->getTypeID()) { in getEVT()
H A DIntrinsicLowering.cpp205 switch (CI->getArgOperand(0)->getType()->getTypeID()) { in ReplaceFPIntrinsicWithCall()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp297 switch (Ty->getTypeID()) { in getSmallestAddressableSize()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Linker/
H A DIRMover.cpp118 if (DstTy->getTypeID() != SrcTy->getTypeID()) in areTypesIsomorphic()
295 switch (Ty->getTypeID()) { in get()

12