| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LowerGlobalDtors.cpp | 87 auto *ETy = dyn_cast<StructType>(InitList->getType()->getElementType()); in runImpl() local 88 if (!ETy || ETy->getNumElements() != 3 || in runImpl() 89 !ETy->getTypeAtIndex(0U)->isIntegerTy() || in runImpl() 90 !ETy->getTypeAtIndex(1U)->isPointerTy() || in runImpl() 91 !ETy->getTypeAtIndex(2U)->isPointerTy()) in runImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerAlloca.cpp | 76 auto ETy = allocaInst->getAllocatedType(); in runOnFunction() local 90 PointerType::get(ETy->getContext(), ADDRESS_SPACE_LOCAL), ""); in runOnFunction() 97 PointerType::get(ETy->getContext(), ADDRESS_SPACE_GENERIC), ""); in runOnFunction()
|
| H A D | NVPTXAsmPrinter.cpp | 837 Type *ETy = GVar->getValueType(); in printModuleLevelGV() local 962 << GVar->getAlign().value_or(DL.getPrefTypeAlign(ETy)).value(); in printModuleLevelGV() 964 if (ETy->isPointerTy() || ((ETy->isIntegerTy() || ETy->isFloatingPointTy()) && in printModuleLevelGV() 965 ETy->getScalarSizeInBits() <= 64)) { in printModuleLevelGV() 968 if (ETy->isIntegerTy(1)) in printModuleLevelGV() 971 O << getPTXFundamentalTypeStr(ETy, false); in printModuleLevelGV() 1003 switch (ETy->getTypeID()) { in printModuleLevelGV() 1009 const uint64_t ElementSize = DL.getTypeStoreSize(ETy); in printModuleLevelGV() 1242 Type *ETy = GVar->getValueType(); in emitPTXGlobalVariable() local 1254 << GVar->getAlign().value_or(DL.getPrefTypeAlign(ETy)).value(); in emitPTXGlobalVariable() [all …]
|
| H A D | NVPTXISelLowering.cpp | 1233 Type *ETy = Args[I].IndirectType; in getPrototype() local 1236 getFunctionByValParamAlign(/*F=*/nullptr, ETy, InitialAlign, DL); in getPrototype() 1551 Type *ETy = (IsByVal ? Arg.IndirectType : Arg.Ty); in LowerCall() local 1552 ComputePTXValueVTs(*this, DL, ETy, VTs, &Offsets, IsByVal ? 0 : VAOffset); in LowerCall() 1563 CB->getCalledFunction(), ETy, InitialAlign, DL); in LowerCall() 1571 const unsigned TypeSize = DL.getTypeAllocSize(ETy); in LowerCall()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.h | 102 const DICompositeType *ETy; variable 106 BTFTypeEnum(const DICompositeType *ETy, uint32_t NumValues, bool IsSigned); 223 const DICompositeType *ETy; variable 227 BTFTypeEnum64(const DICompositeType *ETy, uint32_t NumValues, bool IsSigned); 336 void visitEnumType(const DICompositeType *ETy, uint32_t &TypeId);
|
| H A D | BTFDebug.cpp | 196 BTFTypeEnum::BTFTypeEnum(const DICompositeType *ETy, uint32_t VLen, in BTFTypeEnum() argument 197 bool IsSigned) : ETy(ETy) { in BTFTypeEnum() 200 BTFType.Size = roundupToBytes(ETy->getSizeInBits()); in BTFTypeEnum() 208 BTFType.NameOff = BDebug.addString(ETy->getName()); in completeType() 210 DINodeArray Elements = ETy->getElements(); in completeType() 235 BTFTypeEnum64::BTFTypeEnum64(const DICompositeType *ETy, uint32_t VLen, in BTFTypeEnum64() argument 236 bool IsSigned) : ETy(ETy) { in BTFTypeEnum64() 239 BTFType.Size = roundupToBytes(ETy->getSizeInBits()); in BTFTypeEnum64() 247 BTFType.NameOff = BDebug.addString(ETy->getName()); in completeType() 249 DINodeArray Elements = ETy->getElements(); in completeType()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | FormatString.cpp | 352 if (const auto *ETy = argTy->getAs<EnumType>()) { in matchesType() local 356 if (!ETy->getDecl()->isComplete()) in matchesType() 358 if (ETy->isUnscopedEnumerationType()) in matchesType() 359 argTy = ETy->getDecl()->getIntegerType(); in matchesType() 397 if (const EnumType *ETy = argTy->getAs<EnumType>()) { in matchesType() local 401 if (!ETy->getDecl()->isComplete()) in matchesType() 403 else if (ETy->isUnscopedEnumerationType()) in matchesType() 404 argTy = ETy->getDecl()->getIntegerType(); in matchesType()
|
| H A D | ScanfFormatString.cpp | 428 if (const EnumType *ETy = PT->getAs<EnumType>()) { in fixType() local 430 if (!ETy->getDecl()->isComplete()) in fixType() 432 PT = ETy->getDecl()->getIntegerType(); in fixType()
|
| H A D | PrintfFormatString.cpp | 793 if (const EnumType *ETy = QT->getAs<EnumType>()) in fixType() local 794 QT = ETy->getDecl()->getIntegerType(); in fixType()
|
| H A D | ASTContext.cpp | 11677 if (const auto *ETy = LHS->getAs<EnumType>()) { in mergeTypes() local 11678 return mergeEnumWithInteger(*this, ETy, RHS, false); in mergeTypes() 11680 if (const EnumType* ETy = RHS->getAs<EnumType>()) { in mergeTypes() local 11681 return mergeEnumWithInteger(*this, ETy, LHS, BlockReturnType); in mergeTypes() 12136 if (const auto *ETy = T->getAs<EnumType>()) in getCorrespondingUnsignedType() local 12137 T = ETy->getDecl()->getIntegerType(); in getCorrespondingUnsignedType() 12210 if (const auto *ETy = T->getAs<EnumType>()) in getCorrespondingSignedType() local 12211 T = ETy->getDecl()->getIntegerType(); in getCorrespondingSignedType()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenTBAA.cpp | 335 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) { in getTypeInfoHelper() local 337 return getTypeInfo(ETy->getDecl()->getIntegerType()); in getTypeInfoHelper() 343 if (!ETy->getDecl()->isExternallyVisible()) in getTypeInfoHelper() 349 QualType(ETy, 0), Out); in getTypeInfoHelper()
|
| H A D | CodeGenTypes.cpp | 608 QualType ETy = RTy->getPointeeType(); in ConvertType() local 609 unsigned AS = getTargetAddressSpace(ETy); in ConvertType() 615 QualType ETy = PTy->getPointeeType(); in ConvertType() local 616 unsigned AS = getTargetAddressSpace(ETy); in ConvertType()
|
| H A D | CGCall.cpp | 3211 QualType ETy = ArrTy->getElementType(); in EmitFunctionProlog() local 3213 CGM.getNaturalTypeAlignment(ETy).getAsAlign(); in EmitFunctionProlog() 3217 if (!ETy->isIncompleteType() && ETy->isConstantSizeType() && in EmitFunctionProlog() 3221 getContext().getTypeSizeInChars(ETy).getQuantity() * in EmitFunctionProlog() 3225 ETy.getAddressSpace()) == 0 && in EmitFunctionProlog() 3236 QualType ETy = ArrTy->getElementType(); in EmitFunctionProlog() local 3238 CGM.getNaturalTypeAlignment(ETy).getAsAlign(); in EmitFunctionProlog() 3241 if (!getTypes().getTargetAddressSpace(ETy) && in EmitFunctionProlog() 3841 QualType ETy = Context.getBaseElementType(ATy); in setUsedBits() local 3842 int Size = Context.getTypeSizeInChars(ETy).getQuantity(); in setUsedBits() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 1585 EVT MemVT, MachineMemOperand *MMO, ISD::LoadExtType ETy) 1589 assert((Opc == ISD::ATOMIC_LOAD || ETy == ISD::NON_EXTLOAD) && 1591 LoadSDNodeBits.ExtTy = ETy; 2549 ISD::MemIndexedMode AM, ISD::LoadExtType ETy, EVT MemVT, 2552 LoadSDNodeBits.ExtTy = ETy; 2685 ISD::MemIndexedMode AM, ISD::LoadExtType ETy, bool isExpanding, 2688 LoadSDNodeBits.ExtTy = ETy; 2713 ISD::MemIndexedMode AM, ISD::LoadExtType ETy, 2717 LoadSDNodeBits.ExtTy = ETy; 2857 ISD::MemIndexedMode AM, ISD::LoadExtType ETy, [all …]
|
| H A D | BasicTTIImpl.h | 538 EVT ETy = getTLI()->getValueType(DL, Ty); in getRegUsageForType() local 539 return getTLI()->getNumRegisters(Ty->getContext(), ETy); in getRegUsageForType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZOperators.td | 637 ISD::LoadExtType ETy = getLoadExtType(N); 638 return ETy == ISD::EXTLOAD || ETy == ISD::SEXTLOAD; 654 ISD::LoadExtType ETy = getLoadExtType(N); 655 return ETy == ISD::EXTLOAD || ETy == ISD::ZEXTLOAD;
|
| H A D | SystemZISelDAGToDAG.cpp | 1577 ISD::LoadExtType ETy; in getLoadExtType() local 1579 ETy = L->getExtensionType(); in getLoadExtType() 1581 ETy = AL->getExtensionType(); in getLoadExtType() 1584 return ETy; in getLoadExtType()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | InterleavedLoadCombinePass.cpp | 1206 Type *ETy = InterleavedLoad.front().SVI->getType()->getElementType(); in combine() local 1210 FixedVectorType *ILTy = FixedVectorType::get(ETy, Factor * ElementsPerSVI); in combine()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | AsmWriter.cpp | 1686 Type *ETy = CA->getType()->getElementType(); in WriteConstantInternal() local 1688 WriterCtx.TypePrinter->print(ETy, Out); in WriteConstantInternal() 1693 WriterCtx.TypePrinter->print(ETy, Out); in WriteConstantInternal() 1711 Type *ETy = CA->getType()->getElementType(); in WriteConstantInternal() local 1713 WriterCtx.TypePrinter->print(ETy, Out); in WriteConstantInternal() 1718 WriterCtx.TypePrinter->print(ETy, Out); in WriteConstantInternal() 1756 Type *ETy = CVVTy->getElementType(); in WriteConstantInternal() local 1766 WriterCtx.TypePrinter->print(ETy, Out); in WriteConstantInternal() 1775 WriterCtx.TypePrinter->print(ETy, Out); in WriteConstantInternal() 1780 WriterCtx.TypePrinter->print(ETy, Out); in WriteConstantInternal()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FastISel.cpp | 1507 EVT ETy = TLI.getValueType(DL, I->getOperand(0)->getType()); in selectFreeze() local 1508 if (ETy == MVT::Other || !TLI.isTypeLegal(ETy)) in selectFreeze() 1512 MVT Ty = ETy.getSimpleVT(); in selectFreeze()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 2229 EVT ETy = EVT::getEVT(ElemTy, false); in getHvxTy() local 2230 assert(ETy.isSimple() && "Invalid HVX element type"); in getHvxTy() 2232 assert(HST.isHVXElementType(ETy.getSimpleVT(), /*IncludeBool=*/false) && in getHvxTy() 2235 unsigned NumElems = (8 * HwLen) / ETy.getSizeInBits(); in getHvxTy()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 2523 Type *ETy = getEffectiveSCEVType(Ops[0]->getType()); in getAddExpr() local 2525 assert(getEffectiveSCEVType(Ops[i]->getType()) == ETy && in getAddExpr() 3103 Type *ETy = Ops[0]->getType(); in getMulExpr() local 3104 assert(!ETy->isPointerTy()); in getMulExpr() 3106 assert(Ops[i]->getType() == ETy && in getMulExpr() 3652 Type *ETy = getEffectiveSCEVType(Operands[0]->getType()); in getAddRecExpr() local 3654 assert(getEffectiveSCEVType(Op->getType()) == ETy && in getAddRecExpr() 3823 Type *ETy = getEffectiveSCEVType(Ops[0]->getType()); in getMinMaxExpr() local 3825 assert(getEffectiveSCEVType(Ops[i]->getType()) == ETy && in getMinMaxExpr() 4227 Type *ETy = getEffectiveSCEVType(Ops[0]->getType()); in getSequentialMinMaxExpr() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.cpp | 6832 EVT ETy = TLI->getValueType(DL, VT); in getInterleavedMemoryOpCost() local 6833 if (!ETy.isSimple()) in getInterleavedMemoryOpCost() 7056 ETy.getSimpleVT())) in getInterleavedMemoryOpCost() 7061 ETy.getSimpleVT())) in getInterleavedMemoryOpCost() 7066 ETy.getSimpleVT())) in getInterleavedMemoryOpCost() 7075 ETy.getSimpleVT())) in getInterleavedMemoryOpCost() 7080 ETy.getSimpleVT())) in getInterleavedMemoryOpCost()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaInit.cpp | 7863 QualType ETy = Entity.getType(); in Perform() local 7864 bool HasGlobalAS = ETy.hasAddressSpace() && in Perform() 7865 ETy.getAddressSpace() == LangAS::opencl_global; in Perform() 7868 ETy->isAtomicType() && !HasGlobalAS && in Perform()
|
| H A D | SemaStmt.cpp | 3252 QualType ETy = E->getType(); in ActOnIndirectGotoStmt() local 3260 if (DiagnoseAssignmentResult(ConvTy, StarLoc, DestTy, ETy, E, in ActOnIndirectGotoStmt()
|