Home
last modified time | relevance | path

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

12

/NextBSD/contrib/llvm/include/llvm/IR/
HDType.h98 assert(getTypeID() == ID && "TypeID data too large for field"); in setTypeID()
134 TypeID getTypeID() const { return (TypeID)(IDAndSubclassData & 0xFF); } in getTypeID() function
137 bool isVoidTy() const { return getTypeID() == VoidTyID; } in isVoidTy()
140 bool isHalfTy() const { return getTypeID() == HalfTyID; } in isHalfTy()
143 bool isFloatTy() const { return getTypeID() == FloatTyID; } in isFloatTy()
146 bool isDoubleTy() const { return getTypeID() == DoubleTyID; } in isDoubleTy()
149 bool isX86_FP80Ty() const { return getTypeID() == X86_FP80TyID; } in isX86_FP80Ty()
152 bool isFP128Ty() const { return getTypeID() == FP128TyID; } in isFP128Ty()
155 bool isPPC_FP128Ty() const { return getTypeID() == PPC_FP128TyID; } in isPPC_FP128Ty()
160 return getTypeID() == HalfTyID || getTypeID() == FloatTyID || in isFloatingPointTy()
[all …]
HDDerivedTypes.h89 return T->getTypeID() == IntegerTyID; in classof()
140 return T->getTypeID() == FunctionTyID; in classof()
163 return T->getTypeID() == ArrayTyID || in classof()
164 T->getTypeID() == StructTyID || in classof()
165 T->getTypeID() == PointerTyID || in classof()
166 T->getTypeID() == VectorTyID; in classof()
298 return T->getTypeID() == StructTyID; in classof()
327 return T->getTypeID() == ArrayTyID || in classof()
328 T->getTypeID() == PointerTyID || in classof()
329 T->getTypeID() == VectorTyID; in classof()
[all …]
HDDataLayout.h509 switch (Ty->getTypeID()) { in getTypeSizeInBits()
/NextBSD/contrib/llvm/lib/ExecutionEngine/Interpreter/
HDExecution.cpp57 switch (Ty->getTypeID()) { in executeFAddInst()
68 switch (Ty->getTypeID()) { in executeFSubInst()
79 switch (Ty->getTypeID()) { in executeFMulInst()
90 switch (Ty->getTypeID()) { in executeFDivInst()
101 switch (Ty->getTypeID()) { in executeFRemInst()
141 switch (Ty->getTypeID()) { in executeICMP_EQ()
155 switch (Ty->getTypeID()) { in executeICMP_NE()
169 switch (Ty->getTypeID()) { in executeICMP_ULT()
183 switch (Ty->getTypeID()) { in executeICMP_SLT()
197 switch (Ty->getTypeID()) { in executeICMP_UGT()
[all …]
HDExternalFunctions.cpp63 static char getTypeID(Type *Ty) { in getTypeID() function
64 switch (Ty->getTypeID()) { in getTypeID()
96 ExtName += getTypeID(FT->getContainedType(i)); in lookupFunction()
113 switch (Ty->getTypeID()) { in ffiTypeFor()
134 switch (Ty->getTypeID()) { in ffiValueFor()
221 if (RetTy->getTypeID() != Type::VoidTyID) in ffiInvoke()
224 switch (RetTy->getTypeID()) { in ffiInvoke()
/NextBSD/contrib/llvm/lib/Bitcode/Writer/
HDBitcodeWriter.cpp397 switch (T->getTypeID()) { in WriteTypeTable()
417 TypeVals.push_back(VE.getTypeID(PTy->getElementType())); in WriteTypeTable()
428 TypeVals.push_back(VE.getTypeID(FT->getReturnType())); in WriteTypeTable()
430 TypeVals.push_back(VE.getTypeID(FT->getParamType(i))); in WriteTypeTable()
441 TypeVals.push_back(VE.getTypeID(*I)); in WriteTypeTable()
466 TypeVals.push_back(VE.getTypeID(AT->getElementType())); in WriteTypeTable()
475 TypeVals.push_back(VE.getTypeID(VT->getElementType())); in WriteTypeTable()
599 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV.getValueType())); in WriteModuleInfo()
670 Vals.push_back(VE.getTypeID(GV.getValueType())); in WriteModuleInfo()
701 Vals.push_back(VE.getTypeID(F.getFunctionType())); in WriteModuleInfo()
[all …]
HDValueEnumerator.h129 unsigned getTypeID(Type *T) const { in getTypeID() function
HDValueEnumerator.cpp487 return getTypeID(LHS.first->getType()) < getTypeID(RHS.first->getType()); in OptimizeConstants()
/NextBSD/contrib/llvm/lib/IR/
HDType.cpp80 if (Ty->getTypeID() == Type::X86_MMXTyID && in canLosslesslyBitCastTo()
85 if (this->getTypeID() == Type::X86_MMXTyID) in canLosslesslyBitCastTo()
122 switch (getTypeID()) { in getPrimitiveSizeInBits()
150 if (getTypeID() == HalfTyID) return 11; in getFPMantissaWidth()
151 if (getTypeID() == FloatTyID) return 24; in getFPMantissaWidth()
152 if (getTypeID() == DoubleTyID) return 53; in getFPMantissaWidth()
153 if (getTypeID() == X86_FP80TyID) return 64; in getFPMantissaWidth()
154 if (getTypeID() == FP128TyID) return 113; in getFPMantissaWidth()
155 assert(getTypeID() == PPC_FP128TyID && "unknown fp type"); in getFPMantissaWidth()
HDConstants.cpp179 switch (Ty->getTypeID()) { in getNullValue()
1330 switch (Ty->getTypeID()) { in isValueValidForType()
1701 bool fromVec = C->getType()->getTypeID() == Type::VectorTyID; in getTrunc()
1702 bool toVec = Ty->getTypeID() == Type::VectorTyID; in getTrunc()
1715 bool fromVec = C->getType()->getTypeID() == Type::VectorTyID; in getSExt()
1716 bool toVec = Ty->getTypeID() == Type::VectorTyID; in getSExt()
1729 bool fromVec = C->getType()->getTypeID() == Type::VectorTyID; in getZExt()
1730 bool toVec = Ty->getTypeID() == Type::VectorTyID; in getZExt()
1743 bool fromVec = C->getType()->getTypeID() == Type::VectorTyID; in getFPTrunc()
1744 bool toVec = Ty->getTypeID() == Type::VectorTyID; in getFPTrunc()
[all …]
HDValueTypes.cpp250 switch (Ty->getTypeID()) { in getVT()
278 switch (Ty->getTypeID()) { in getEVT()
HDDataLayout.cpp624 switch (Ty->getTypeID()) { in getAlignment()
/NextBSD/contrib/llvm/lib/Target/Mips/
HDMips16HardFloat.cpp79 switch (T->getTypeID()) { in whichFPReturnVariant()
120 TypeID ArgTypeID = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
131 TypeID ArgTypeID0 = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
132 TypeID ArgTypeID1 = F.getFunctionType()->getParamType(1)->getTypeID(); in whichFPParamVariantNeeded()
169 switch (ArgType->getTypeID()) { in needsFPStubFromParams()
HDMipsOs16.cpp54 switch (RetType->getTypeID()) { in needsFPFromSig()
63 switch (Arg.getType()->getTypeID()) { in needsFPFromSig()
/NextBSD/contrib/llvm/lib/Target/NVPTX/
HDNVPTXAsmPrinter.cpp282 switch (Cnt->getType()->getTypeID()) { in lowerOperand()
350 if (Ty->getTypeID() == Type::VoidTyID) in printReturnValStr()
371 } else if ((Ty->getTypeID() == Type::StructTyID) || isa<VectorType>(Ty)) { in printReturnValStr()
1204 switch (ETy->getTypeID()) { in printModuleLevelGV()
1303 switch (Ty->getTypeID()) { in getPTXFundamentalTypeStr()
1369 switch (ETy->getTypeID()) { in emitPTXGlobalVariable()
1691 if (Fp->getType()->getTypeID() == Type::FloatTyID) { in printFPConstant()
1695 } else if (Fp->getType()->getTypeID() == Type::DoubleTyID) { in printFPConstant()
1800 switch (CPV->getType()->getTypeID()) { in bufferLEByte()
/NextBSD/contrib/llvm/lib/ExecutionEngine/Orc/
HDOrcMCJITReplacement.cpp87 switch (RetTy->getTypeID()) { in runFunction()
/NextBSD/contrib/llvm/lib/ExecutionEngine/
HDExecutionEngineBindings.cpp55 switch (unwrap(TyRef)->getTypeID()) { in LLVMCreateGenericValueOfFloat()
86 switch (unwrap(TyRef)->getTypeID()) { in LLVMGenericValueToFloat()
HDExecutionEngine.cpp593 switch (C->getType()->getTypeID()) { in getConstantValue()
750 switch (Op0->getType()->getTypeID()) { in getConstantValue()
789 switch (CE->getOperand(0)->getType()->getTypeID()) { in getConstantValue()
885 switch (C->getType()->getTypeID()) { in getConstantValue()
1045 switch (Ty->getTypeID()) { in StoreValueToMemory()
1122 switch (Ty->getTypeID()) { in LoadValueFromMemory()
/NextBSD/contrib/llvm/lib/CodeGen/
HDIntrinsicLowering.cpp42 switch((int)Fn->arg_begin()->getType()->getTypeID()) { in EnsureFPIntrinsicsExist()
321 switch (CI->getArgOperand(0)->getType()->getTypeID()) { in ReplaceFPIntrinsicWithCall()
/NextBSD/contrib/llvm/lib/Transforms/IPO/
HDMergeFunctions.cpp637 if (int Res = cmpNumbers(TyL->getTypeID(), TyR->getTypeID())) in cmpTypes()
640 switch (TyL->getTypeID()) { in cmpTypes()
/NextBSD/contrib/llvm/lib/Target/CppBackend/
HDCPPBackend.cpp185 switch (Ty->getTypeID()) { in getTypePrefix()
375 switch (Ty->getTypeID()) { in getCppName()
403 switch (Ty->getTypeID()) { in getCppName()
565 switch (Ty->getTypeID()) { in printType()
/NextBSD/contrib/llvm/lib/Linker/
HDLinkModules.cpp134 if (DstTy->getTypeID() != SrcTy->getTypeID()) in areTypesIsomorphic()
312 switch (Ty->getTypeID()) { in get()
/NextBSD/contrib/llvm/lib/ExecutionEngine/MCJIT/
HDMCJIT.cpp534 switch (RetTy->getTypeID()) { in runFunction()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGExprComplex.cpp607 switch (Ty->getTypeID()) { in getComplexMultiplyLibCallName()
748 switch (LHSr->getType()->getTypeID()) { in EmitBinDiv()
/NextBSD/contrib/llvm/tools/clang/include/clang/Serialization/
HDASTWriter.h646 serialization::TypeID getTypeID(QualType T) const;

12