Home
last modified time | relevance | path

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

12

/freebsd-9-stable/contrib/llvm/include/llvm/IR/
DType.h101 assert(getTypeID() == ID && "TypeID data too large for field"); in setTypeID()
137 TypeID getTypeID() const { return (TypeID)(IDAndSubclassData & 0xFF); } in getTypeID() function
140 bool isVoidTy() const { return getTypeID() == VoidTyID; } in isVoidTy()
143 bool isHalfTy() const { return getTypeID() == HalfTyID; } in isHalfTy()
146 bool isFloatTy() const { return getTypeID() == FloatTyID; } in isFloatTy()
149 bool isDoubleTy() const { return getTypeID() == DoubleTyID; } in isDoubleTy()
152 bool isX86_FP80Ty() const { return getTypeID() == X86_FP80TyID; } in isX86_FP80Ty()
155 bool isFP128Ty() const { return getTypeID() == FP128TyID; } in isFP128Ty()
158 bool isPPC_FP128Ty() const { return getTypeID() == PPC_FP128TyID; } in isPPC_FP128Ty()
163 return getTypeID() == HalfTyID || getTypeID() == FloatTyID || in isFloatingPointTy()
[all …]
DDerivedTypes.h89 return T->getTypeID() == IntegerTyID; in classof()
137 return T->getTypeID() == FunctionTyID; in classof()
159 return T->getTypeID() == ArrayTyID || in classof()
160 T->getTypeID() == StructTyID || in classof()
161 T->getTypeID() == PointerTyID || in classof()
162 T->getTypeID() == VectorTyID; in classof()
294 return T->getTypeID() == StructTyID; in classof()
323 return T->getTypeID() == ArrayTyID || in classof()
324 T->getTypeID() == PointerTyID || in classof()
325 T->getTypeID() == VectorTyID; in classof()
[all …]
DDataLayout.h461 switch (Ty->getTypeID()) { in getTypeSizeInBits()
/freebsd-9-stable/contrib/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp55 switch (Ty->getTypeID()) { in executeFAddInst()
66 switch (Ty->getTypeID()) { in executeFSubInst()
77 switch (Ty->getTypeID()) { in executeFMulInst()
88 switch (Ty->getTypeID()) { in executeFDivInst()
99 switch (Ty->getTypeID()) { in executeFRemInst()
139 switch (Ty->getTypeID()) { in executeICMP_EQ()
153 switch (Ty->getTypeID()) { in executeICMP_NE()
167 switch (Ty->getTypeID()) { in executeICMP_ULT()
181 switch (Ty->getTypeID()) { in executeICMP_SLT()
195 switch (Ty->getTypeID()) { in executeICMP_UGT()
[all …]
DExternalFunctions.cpp63 static char getTypeID(Type *Ty) { in getTypeID() function
64 switch (Ty->getTypeID()) { in getTypeID()
96 ExtName += getTypeID(FT->getContainedType(i)); in lookupFunction()
114 switch (Ty->getTypeID()) { in ffiTypeFor()
135 switch (Ty->getTypeID()) { in ffiValueFor()
223 if (RetTy->getTypeID() != Type::VoidTyID) in ffiInvoke()
226 switch (RetTy->getTypeID()) { in ffiInvoke()
/freebsd-9-stable/contrib/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp384 switch (T->getTypeID()) { in WriteTypeTable()
405 TypeVals.push_back(VE.getTypeID(PTy->getElementType())); in WriteTypeTable()
416 TypeVals.push_back(VE.getTypeID(FT->getReturnType())); in WriteTypeTable()
418 TypeVals.push_back(VE.getTypeID(FT->getParamType(i))); in WriteTypeTable()
429 TypeVals.push_back(VE.getTypeID(*I)); in WriteTypeTable()
454 TypeVals.push_back(VE.getTypeID(AT->getElementType())); in WriteTypeTable()
463 TypeVals.push_back(VE.getTypeID(VT->getElementType())); in WriteTypeTable()
541 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV->getType())); in WriteModuleInfo()
610 Vals.push_back(VE.getTypeID(GV->getType())); in WriteModuleInfo()
636 Vals.push_back(VE.getTypeID(F->getType())); in WriteModuleInfo()
[all …]
DValueEnumerator.h96 unsigned getTypeID(Type *T) const { in getTypeID() function
DValueEnumerator.cpp185 return VE.getTypeID(LHS.first->getType()) < in operator ()()
186 VE.getTypeID(RHS.first->getType()); in operator ()()
/freebsd-9-stable/contrib/llvm/lib/IR/
DType.cpp80 if (Ty->getTypeID() == Type::X86_MMXTyID && in canLosslesslyBitCastTo()
85 if (this->getTypeID() == Type::X86_MMXTyID) in canLosslesslyBitCastTo()
118 switch (getTypeID()) { in getPrimitiveSizeInBits()
146 if (getTypeID() == HalfTyID) return 11; in getFPMantissaWidth()
147 if (getTypeID() == FloatTyID) return 24; in getFPMantissaWidth()
148 if (getTypeID() == DoubleTyID) return 53; in getFPMantissaWidth()
149 if (getTypeID() == X86_FP80TyID) return 64; in getFPMantissaWidth()
150 if (getTypeID() == FP128TyID) return 113; in getFPMantissaWidth()
151 assert(getTypeID() == PPC_FP128TyID && "unknown fp type"); in getFPMantissaWidth()
DConstants.cpp112 switch (Ty->getTypeID()) { in getNullValue()
1184 switch (Ty->getTypeID()) { in isValueValidForType()
1540 bool fromVec = C->getType()->getTypeID() == Type::VectorTyID; in getTrunc()
1541 bool toVec = Ty->getTypeID() == Type::VectorTyID; in getTrunc()
1554 bool fromVec = C->getType()->getTypeID() == Type::VectorTyID; in getSExt()
1555 bool toVec = Ty->getTypeID() == Type::VectorTyID; in getSExt()
1568 bool fromVec = C->getType()->getTypeID() == Type::VectorTyID; in getZExt()
1569 bool toVec = Ty->getTypeID() == Type::VectorTyID; in getZExt()
1582 bool fromVec = C->getType()->getTypeID() == Type::VectorTyID; in getFPTrunc()
1583 bool toVec = Ty->getTypeID() == Type::VectorTyID; in getFPTrunc()
[all …]
DValueTypes.cpp248 switch (Ty->getTypeID()) { in getVT()
276 switch (Ty->getTypeID()) { in getEVT()
DDataLayout.cpp532 switch (Ty->getTypeID()) { in getAlignment()
/freebsd-9-stable/contrib/llvm/lib/Target/Mips/
DMips16HardFloat.cpp64 switch (T->getTypeID()) { in whichFPReturnVariant()
105 TypeID ArgTypeID = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
116 TypeID ArgTypeID0 = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
117 TypeID ArgTypeID1 = F.getFunctionType()->getParamType(1)->getTypeID(); in whichFPParamVariantNeeded()
154 switch (ArgType->getTypeID()) { in needsFPStubFromParams()
DMipsOs16.cpp36 switch (RetType->getTypeID()) { in needsFPFromSig()
45 switch (Arg.getType()->getTypeID()) { in needsFPFromSig()
/freebsd-9-stable/contrib/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp358 switch (Cnt->getType()->getTypeID()) { in lowerOperand()
427 if (Ty->getTypeID() == Type::VoidTyID) in printReturnValStr()
449 if ((Ty->getTypeID() == Type::StructTyID) || isa<VectorType>(Ty)) { in printReturnValStr()
1238 switch (ETy->getTypeID()) { in printModuleLevelGV()
1329 switch (Ty->getTypeID()) { in getPTXFundamentalTypeStr()
1395 switch (ETy->getTypeID()) { in emitPTXGlobalVariable()
1734 if (Fp->getType()->getTypeID() == Type::FloatTyID) { in printFPConstant()
1738 } else if (Fp->getType()->getTypeID() == Type::DoubleTyID) { in printFPConstant()
1797 switch (CPV->getType()->getTypeID()) { in bufferLEByte()
/freebsd-9-stable/contrib/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp81 return Ty->getTypeID(); in getTypeIDForHash()
225 if (Ty1->getTypeID() != Ty2->getTypeID()) in isEquivalentType()
228 switch (Ty1->getTypeID()) { in isEquivalentType()
/freebsd-9-stable/contrib/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp542 switch (C->getType()->getTypeID()) { in getConstantValue()
699 switch (Op0->getType()->getTypeID()) { in getConstantValue()
738 switch (CE->getOperand(0)->getType()->getTypeID()) { in getConstantValue()
834 switch (C->getType()->getTypeID()) { in getConstantValue()
997 switch (Ty->getTypeID()) { in StoreValueToMemory()
1074 switch (Ty->getTypeID()) { in LoadValueFromMemory()
DExecutionEngineBindings.cpp64 switch (unwrap(TyRef)->getTypeID()) { in LLVMCreateGenericValueOfFloat()
95 switch (unwrap(TyRef)->getTypeID()) { in LLVMGenericValueToFloat()
/freebsd-9-stable/contrib/llvm/lib/ExecutionEngine/JIT/
DJIT.cpp299 switch (RetTy->getTypeID()) { in runFunction()
355 switch (ArgTy->getTypeID()) { in runFunction()
/freebsd-9-stable/contrib/llvm/lib/CodeGen/
DIntrinsicLowering.cpp42 switch((int)Fn->arg_begin()->getType()->getTypeID()) { in EnsureFPIntrinsicsExist()
321 switch (CI->getArgOperand(0)->getType()->getTypeID()) { in ReplaceFPIntrinsicWithCall()
/freebsd-9-stable/contrib/llvm/lib/Linker/
DLinkModules.cpp120 if (DstTy->getTypeID() != SrcTy->getTypeID()) return false; in areTypesIsomorphic()
286 switch (Ty->getTypeID()) { in getImpl()
/freebsd-9-stable/contrib/llvm/lib/Target/CppBackend/
DCPPBackend.cpp181 switch (Ty->getTypeID()) { in getTypePrefix()
366 switch (Ty->getTypeID()) { in getCppName()
392 switch (Ty->getTypeID()) { in getCppName()
551 switch (Ty->getTypeID()) { in printType()
/freebsd-9-stable/contrib/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp442 switch (RetTy->getTypeID()) { in runFunction()
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Serialization/
DASTWriter.h557 serialization::TypeID getTypeID(QualType T) const;
/freebsd-9-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCGExprScalar.cpp795 if (DstTy->getTypeID() < SrcTy->getTypeID()) in EmitScalarConversion()
1038 if (DstEltTy->getTypeID() < SrcEltTy->getTypeID()) in VisitConvertVectorExpr()

12