reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/IR/DataLayout.h
  626   switch (Ty->getTypeID()) {
include/llvm/IR/DerivedTypes.h
   98     return T->getTypeID() == IntegerTyID;
  148     return T->getTypeID() == FunctionTyID;
  212     return T->getTypeID() == ArrayTyID ||
  213            T->getTypeID() == StructTyID ||
  214            T->getTypeID() == VectorTyID;
  358     return T->getTypeID() == StructTyID;
  403     return T->getTypeID() == ArrayTyID || T->getTypeID() == VectorTyID;
  403     return T->getTypeID() == ArrayTyID || T->getTypeID() == VectorTyID;
  423     return T->getTypeID() == ArrayTyID;
  489       switch(VTy->getElementType()->getTypeID()) {
  562     return T->getTypeID() == VectorTyID;
  611     return T->getTypeID() == PointerTyID;
include/llvm/IR/Type.h
  141   bool isVoidTy() const { return getTypeID() == VoidTyID; }
  144   bool isHalfTy() const { return getTypeID() == HalfTyID; }
  147   bool isFloatTy() const { return getTypeID() == FloatTyID; }
  150   bool isDoubleTy() const { return getTypeID() == DoubleTyID; }
  153   bool isX86_FP80Ty() const { return getTypeID() == X86_FP80TyID; }
  156   bool isFP128Ty() const { return getTypeID() == FP128TyID; }
  159   bool isPPC_FP128Ty() const { return getTypeID() == PPC_FP128TyID; }
  163     return getTypeID() == HalfTyID || getTypeID() == FloatTyID ||
  163     return getTypeID() == HalfTyID || getTypeID() == FloatTyID ||
  164            getTypeID() == DoubleTyID ||
  165            getTypeID() == X86_FP80TyID || getTypeID() == FP128TyID ||
  165            getTypeID() == X86_FP80TyID || getTypeID() == FP128TyID ||
  166            getTypeID() == PPC_FP128TyID;
  170     switch (getTypeID()) {
  182   bool isX86_MMXTy() const { return getTypeID() == X86_MMXTyID; }
  188   bool isLabelTy() const { return getTypeID() == LabelTyID; }
  191   bool isMetadataTy() const { return getTypeID() == MetadataTyID; }
  194   bool isTokenTy() const { return getTypeID() == TokenTyID; }
  197   bool isIntegerTy() const { return getTypeID() == IntegerTyID; }
  215   bool isFunctionTy() const { return getTypeID() == FunctionTyID; }
  218   bool isStructTy() const { return getTypeID() == StructTyID; }
  221   bool isArrayTy() const { return getTypeID() == ArrayTyID; }
  224   bool isPointerTy() const { return getTypeID() == PointerTyID; }
  230   bool isVectorTy() const { return getTypeID() == VectorTyID; }
  245     return getTypeID() != FunctionTyID && getTypeID() != VoidTyID;
  245     return getTypeID() != FunctionTyID && getTypeID() != VoidTyID;
  259     return getTypeID() == StructTyID || getTypeID() == ArrayTyID;
  259     return getTypeID() == StructTyID || getTypeID() == ArrayTyID;
  267     if (getTypeID() == IntegerTyID || isFloatingPointTy() ||
  268         getTypeID() == PointerTyID ||
  269         getTypeID() == X86_MMXTyID)
  273     if (getTypeID() != StructTyID && getTypeID() != ArrayTyID &&
  273     if (getTypeID() != StructTyID && getTypeID() != ArrayTyID &&
  274         getTypeID() != VectorTyID)
  362     assert(isSequentialType(getTypeID()) && "Not a sequential type!");
  369     assert(getTypeID() == ArrayTyID);
  377     assert(getTypeID() == VectorTyID);
  382     assert(getTypeID() == PointerTyID);
  479     return Ty.getTypeID() == Type::PointerTyID;
lib/Bitcode/Writer/BitcodeWriter.cpp
  874     switch (T->getTypeID()) {
lib/CodeGen/IntrinsicLowering.cpp
  215   switch (CI->getArgOperand(0)->getType()->getTypeID()) {
lib/CodeGen/ValueTypes.cpp
  449   switch (Ty->getTypeID()) {
  478   switch (Ty->getTypeID()) {
lib/ExecutionEngine/ExecutionEngine.cpp
  598     switch (C->getType()->getTypeID()) {
  755       switch (Op0->getType()->getTypeID()) {
  794       switch (CE->getOperand(0)->getType()->getTypeID()) {
  889   switch (C->getType()->getTypeID()) {
 1026   switch (Ty->getTypeID()) {
 1076   switch (Ty->getTypeID()) {
lib/ExecutionEngine/ExecutionEngineBindings.cpp
   56   switch (unwrap(TyRef)->getTypeID()) {
   87   switch (unwrap(TyRef)->getTypeID()) {
lib/ExecutionEngine/Interpreter/Execution.cpp
   50   switch (Ty->getTypeID()) {
  110   switch (Ty->getTypeID()) {
  121   switch (Ty->getTypeID()) {
  132   switch (Ty->getTypeID()) {
  143   switch (Ty->getTypeID()) {
  154   switch (Ty->getTypeID()) {
  194   switch (Ty->getTypeID()) {
  208   switch (Ty->getTypeID()) {
  222   switch (Ty->getTypeID()) {
  236   switch (Ty->getTypeID()) {
  250   switch (Ty->getTypeID()) {
  264   switch (Ty->getTypeID()) {
  278   switch (Ty->getTypeID()) {
  292   switch (Ty->getTypeID()) {
  306   switch (Ty->getTypeID()) {
  320   switch (Ty->getTypeID()) {
  381   switch (Ty->getTypeID()) {
  437   switch (Ty->getTypeID()) {
  457   switch (Ty->getTypeID()) {
  471   switch (Ty->getTypeID()) {
  485   switch (Ty->getTypeID()) {
  499   switch (Ty->getTypeID()) {
 1335   if (SrcVal->getType()->getTypeID() == Type::VectorTyID) {
 1358   if (SrcVal->getType()->getTypeID() == Type::VectorTyID) {
 1381   if (SrcTy->getTypeID() == Type::VectorTyID) {
 1389     if (SrcVecTy->getTypeID() == Type::FloatTyID) {
 1404     if (SrcTy->getTypeID() == Type::FloatTyID)
 1419   if (SrcTy->getTypeID() == Type::VectorTyID) {
 1427     if (SrcVecTy->getTypeID() == Type::FloatTyID) {
 1442     if (SrcTy->getTypeID() == Type::FloatTyID)
 1455   if (SrcVal->getType()->getTypeID() == Type::VectorTyID) {
 1461     if (DstVecTy->getTypeID() == Type::FloatTyID) {
 1474     if (DstTy->getTypeID() == Type::FloatTyID)
 1487   if (SrcVal->getType()->getTypeID() == Type::VectorTyID) {
 1493     if (DstVecTy->getTypeID() == Type::FloatTyID) {
 1507     if (DstTy->getTypeID() == Type::FloatTyID)
 1548   if ((SrcTy->getTypeID() == Type::VectorTyID) ||
 1549       (DstTy->getTypeID() == Type::VectorTyID)) {
 1561     if (SrcTy->getTypeID() == Type::VectorTyID) {
 1574     if (DstTy->getTypeID() == Type::VectorTyID) {
 1647     if (DstTy->getTypeID() == Type::VectorTyID) {
 1780   switch (Ty->getTypeID()) {
 1809     switch (Ty->getTypeID()) {
 1848   switch (TyContained->getTypeID()) {
 1885   switch (TyContained->getTypeID()) {
 1948   switch (IndexedType->getTypeID()) {
 1995   switch (IndexedType->getTypeID()) {
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
   74   switch (Ty->getTypeID()) {
lib/ExecutionEngine/MCJIT/MCJIT.cpp
  568     switch (RetTy->getTypeID()) {
lib/ExecutionEngine/Orc/OrcMCJITReplacement.cpp
   86     switch (RetTy->getTypeID()) {
lib/IR/AsmWriter.cpp
  558   switch (Ty->getTypeID()) {
lib/IR/Constants.cpp
  290   switch (Ty->getTypeID()) {
 1316   switch (Ty->getTypeID()) {
 1670   bool fromVec = C->getType()->getTypeID() == Type::VectorTyID;
 1671   bool toVec = Ty->getTypeID() == Type::VectorTyID;
 1684   bool fromVec = C->getType()->getTypeID() == Type::VectorTyID;
 1685   bool toVec = Ty->getTypeID() == Type::VectorTyID;
 1698   bool fromVec = C->getType()->getTypeID() == Type::VectorTyID;
 1699   bool toVec = Ty->getTypeID() == Type::VectorTyID;
 1712   bool fromVec = C->getType()->getTypeID() == Type::VectorTyID;
 1713   bool toVec = Ty->getTypeID() == Type::VectorTyID;
 1724   bool fromVec = C->getType()->getTypeID() == Type::VectorTyID;
 1725   bool toVec = Ty->getTypeID() == Type::VectorTyID;
 1736   bool fromVec = C->getType()->getTypeID() == Type::VectorTyID;
 1737   bool toVec = Ty->getTypeID() == Type::VectorTyID;
 1747   bool fromVec = C->getType()->getTypeID() == Type::VectorTyID;
 1748   bool toVec = Ty->getTypeID() == Type::VectorTyID;
 1758   bool fromVec = C->getType()->getTypeID() == Type::VectorTyID;
 1759   bool toVec = Ty->getTypeID() == Type::VectorTyID;
 1769   bool fromVec = C->getType()->getTypeID() == Type::VectorTyID;
 1770   bool toVec = Ty->getTypeID() == Type::VectorTyID;
 2743   switch (getElementType()->getTypeID()) {
lib/IR/Core.cpp
  478   switch (unwrap(Ty)->getTypeID()) {
lib/IR/DataLayout.cpp
  706   switch (Ty->getTypeID()) {
lib/IR/Function.cpp
  621     switch (Ty->getTypeID()) {
lib/IR/Type.cpp
   76     if (Ty->getTypeID() == Type::X86_MMXTyID &&
   81   if (this->getTypeID() == Type::X86_MMXTyID)
  116   switch (getTypeID()) {
  142   if (getTypeID() == HalfTyID) return 11;
  143   if (getTypeID() == FloatTyID) return 24;
  144   if (getTypeID() == DoubleTyID) return 53;
  145   if (getTypeID() == X86_FP80TyID) return 64;
  146   if (getTypeID() == FP128TyID) return 113;
  147   assert(getTypeID() == PPC_FP128TyID && "unknown fp type");
lib/Linker/IRMover.cpp
  116   if (DstTy->getTypeID() != SrcTy->getTypeID())
  116   if (DstTy->getTypeID() != SrcTy->getTypeID())
  300   switch (Ty->getTypeID()) {
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
  131   switch (Ty->getTypeID()) {
  163   switch (Ty->getTypeID()) {
  572   switch (Ty->getTypeID()) {
  604   switch (Ty->getTypeID()) {
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  142   if (ElemType->getTypeID() != Type::IntegerTyID)
  411             (ArgType->getTypeID() != Type::VectorTyID)) {
  433         } else if (ArgType->getTypeID() == Type::PointerTyID) {
  480         } else if (ArgType->getTypeID() == Type::VectorTyID) {
lib/Target/AMDGPU/SIISelLowering.cpp
  884   switch (ElementType->getTypeID()) {
lib/Target/Hexagon/HexagonTargetObjectFile.cpp
  297   switch (Ty->getTypeID()) {
lib/Target/Mips/Mips16HardFloat.cpp
   71   switch (T->getTypeID()) {
  111     TypeID ArgTypeID = F.getFunctionType()->getParamType(0)->getTypeID();
  122     TypeID ArgTypeID0 = F.getFunctionType()->getParamType(0)->getTypeID();
  123     TypeID ArgTypeID1 = F.getFunctionType()->getParamType(1)->getTypeID();
  159     switch (ArgType->getTypeID()) {
lib/Target/Mips/MipsOs16.cpp
   51   switch (RetType->getTypeID()) {
   60     switch (Arg.getType()->getTypeID()) {
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  263     switch (Cnt->getType()->getTypeID()) {
  340   if (Ty->getTypeID() == Type::VoidTyID)
 1183     switch (ETy->getTypeID()) {
 1283   switch (Ty->getTypeID()) {
 1358   switch (ETy->getTypeID()) {
 1696   if (Fp->getType()->getTypeID() == Type::FloatTyID) {
 1700   } else if (Fp->getType()->getTypeID() == Type::DoubleTyID) {
 1799   switch (CPV->getType()->getTypeID()) {
lib/Target/NVPTX/NVPTXISelLowering.cpp
 1272   if (retTy->getTypeID() == Type::VoidTyID) {
lib/Target/XCore/XCoreISelLowering.cpp
 1887   if (Ty->getTypeID() == Type::VoidTyID)
lib/Transforms/IPO/GlobalOpt.cpp
  128     switch (Ty->getTypeID()) {
lib/Transforms/Utils/BuildLibCalls.cpp
  790   switch (Ty->getTypeID()) {
  808   switch (Ty->getTypeID()) {
lib/Transforms/Utils/FunctionComparator.cpp
  419   if (int Res = cmpNumbers(TyL->getTypeID(), TyR->getTypeID()))
  419   if (int Res = cmpNumbers(TyL->getTypeID(), TyR->getTypeID()))
  422   switch (TyL->getTypeID()) {
tools/clang/lib/CodeGen/CGExprComplex.cpp
  656   switch (Ty->getTypeID()) {
  797       switch (LHSr->getType()->getTypeID()) {
tools/clang/lib/CodeGen/CGExprScalar.cpp
 1380     if (DstTy->getTypeID() < SrcTy->getTypeID())
 1380     if (DstTy->getTypeID() < SrcTy->getTypeID())
 1710     if (DstEltTy->getTypeID() < SrcEltTy->getTypeID())
 1710     if (DstEltTy->getTypeID() < SrcEltTy->getTypeID())
tools/clang/lib/CodeGen/TargetInfo.cpp
 3017   if (IRType->getTypeID() == llvm::Type::FP128TyID)
 8261         switch (ElemTy->getTypeID()) {
tools/lldb/source/Expression/IRInterpreter.cpp
  601         switch (operand_type->getTypeID()) {