/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 | 73 auto ETy = allocaInst->getAllocatedType(); in runOnFunction() local 74 auto LocalAddrTy = PointerType::get(ETy, ADDRESS_SPACE_LOCAL); in runOnFunction() 76 auto GenericAddrTy = PointerType::get(ETy, ADDRESS_SPACE_GENERIC); in runOnFunction()
|
H A D | NVPTXAsmPrinter.cpp | 1021 Type *ETy = GVar->getValueType(); in printModuleLevelGV() local 1155 O << " .align " << (int)DL.getPrefTypeAlign(ETy).value(); in printModuleLevelGV() 1157 if (ETy->isFloatingPointTy() || ETy->isPointerTy() || in printModuleLevelGV() 1158 (ETy->isIntegerTy() && ETy->getScalarSizeInBits() <= 64)) { in printModuleLevelGV() 1161 if (ETy->isIntegerTy(1)) in printModuleLevelGV() 1164 O << getPTXFundamentalTypeStr(ETy, false); in printModuleLevelGV() 1198 switch (ETy->getTypeID()) { in printModuleLevelGV() 1203 ElementSize = DL.getTypeStoreSize(ETy); in printModuleLevelGV() 1442 Type *ETy = GVar->getValueType(); in emitPTXGlobalVariable() local 1456 O << " .align " << (int)DL.getPrefTypeAlign(ETy).value(); in emitPTXGlobalVariable() [all …]
|
H A D | NVPTXISelLowering.cpp | 1479 Type *ETy = Args[i].IndirectType; in getPrototype() local 1482 getFunctionByValParamAlign(/*F=*/nullptr, ETy, InitialAlign, DL); in getPrototype() 1711 Type *ETy = (IsByVal ? Args[i].IndirectType : Ty); in LowerCall() local 1712 ComputePTXValueVTs(*this, DL, ETy, VTs, &Offsets, IsByVal ? 0 : VAOffset); in LowerCall() 1720 ArgAlign = getFunctionByValParamAlign(CB->getCalledFunction(), 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); 335 void visitEnumType(const DICompositeType *ETy, uint32_t &TypeId);
|
H A D | BTFDebug.cpp | 168 BTFTypeEnum::BTFTypeEnum(const DICompositeType *ETy, uint32_t VLen, in BTFTypeEnum() argument 169 bool IsSigned) : ETy(ETy) { in BTFTypeEnum() 172 BTFType.Size = roundupToBytes(ETy->getSizeInBits()); in BTFTypeEnum() 180 BTFType.NameOff = BDebug.addString(ETy->getName()); in completeType() 182 DINodeArray Elements = ETy->getElements(); in completeType() 207 BTFTypeEnum64::BTFTypeEnum64(const DICompositeType *ETy, uint32_t VLen, in BTFTypeEnum64() argument 208 bool IsSigned) : ETy(ETy) { in BTFTypeEnum64() 211 BTFType.Size = roundupToBytes(ETy->getSizeInBits()); in BTFTypeEnum64() 219 BTFType.NameOff = BDebug.addString(ETy->getName()); in completeType() 221 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 | 11087 if (const auto *ETy = LHS->getAs<EnumType>()) { in mergeTypes() local 11088 return mergeEnumWithInteger(*this, ETy, RHS, false); in mergeTypes() 11090 if (const EnumType* ETy = RHS->getAs<EnumType>()) { in mergeTypes() local 11091 return mergeEnumWithInteger(*this, ETy, LHS, BlockReturnType); in mergeTypes() 11514 if (const auto *ETy = T->getAs<EnumType>()) in getCorrespondingUnsignedType() local 11515 T = ETy->getDecl()->getIntegerType(); in getCorrespondingUnsignedType() 11588 if (const auto *ETy = T->getAs<EnumType>()) in getCorrespondingSignedType() local 11589 T = ETy->getDecl()->getIntegerType(); in getCorrespondingSignedType()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenTBAA.cpp | 247 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) { in getTypeInfoHelper() local 249 return getTypeInfo(ETy->getDecl()->getIntegerType()); in getTypeInfoHelper() 255 if (!ETy->getDecl()->isExternallyVisible()) in getTypeInfoHelper() 261 QualType(ETy, 0), Out); in getTypeInfoHelper()
|
H A D | CodeGenTypes.cpp | 617 QualType ETy = RTy->getPointeeType(); in ConvertType() local 618 unsigned AS = getTargetAddressSpace(ETy); in ConvertType() 624 QualType ETy = PTy->getPointeeType(); in ConvertType() local 625 unsigned AS = getTargetAddressSpace(ETy); in ConvertType()
|
H A D | CGCall.cpp | 3071 QualType ETy = ArrTy->getElementType(); in EmitFunctionProlog() local 3073 CGM.getNaturalTypeAlignment(ETy).getAsAlign(); in EmitFunctionProlog() 3076 if (!ETy->isIncompleteType() && ETy->isConstantSizeType() && in EmitFunctionProlog() 3080 getContext().getTypeSizeInChars(ETy).getQuantity() * in EmitFunctionProlog() 3084 ETy.getAddressSpace()) == 0 && in EmitFunctionProlog() 3095 QualType ETy = ArrTy->getElementType(); in EmitFunctionProlog() local 3097 CGM.getNaturalTypeAlignment(ETy).getAsAlign(); in EmitFunctionProlog() 3099 if (!getTypes().getTargetAddressSpace(ETy) && in EmitFunctionProlog() 3680 QualType ETy = Context.getBaseElementType(ATy); in setUsedBits() local 3681 int Size = Context.getTypeSizeInChars(ETy).getQuantity(); in setUsedBits() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAGNodes.h | 1505 void setExtensionType(ISD::LoadExtType ETy) { 1507 LoadSDNodeBits.ExtTy = ETy; 2434 ISD::MemIndexedMode AM, ISD::LoadExtType ETy, EVT MemVT, 2437 LoadSDNodeBits.ExtTy = ETy; 2573 ISD::MemIndexedMode AM, ISD::LoadExtType ETy, bool isExpanding, 2576 LoadSDNodeBits.ExtTy = ETy; 2601 ISD::MemIndexedMode AM, ISD::LoadExtType ETy, 2605 LoadSDNodeBits.ExtTy = ETy; 2745 ISD::MemIndexedMode AM, ISD::LoadExtType ETy, 2748 LoadSDNodeBits.ExtTy = ETy; [all …]
|
H A D | BasicTTIImpl.h | 440 EVT ETy = getTLI()->getValueType(DL, Ty); in getRegUsageForType() local 441 return getTLI()->getNumRegisters(Ty->getContext(), ETy); in getRegUsageForType()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZOperators.td | 593 ISD::LoadExtType ETy = getLoadExtType(N); 594 return ETy == ISD::EXTLOAD || ETy == ISD::SEXTLOAD; 610 ISD::LoadExtType ETy = getLoadExtType(N); 611 return ETy == ISD::EXTLOAD || ETy == ISD::ZEXTLOAD;
|
H A D | SystemZISelDAGToDAG.cpp | 1566 ISD::LoadExtType ETy; in getLoadExtType() local 1568 ETy = L->getExtensionType(); in getLoadExtType() 1570 ETy = AL->getExtensionType(); in getLoadExtType() 1573 return ETy; in getLoadExtType()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | InterleavedLoadCombinePass.cpp | 1207 Type *ETy = InterleavedLoad.front().SVI->getType()->getElementType(); in combine() local 1211 FixedVectorType *ILTy = FixedVectorType::get(ETy, Factor * ElementsPerSVI); in combine()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | AsmWriter.cpp | 1622 Type *ETy = CA->getType()->getElementType(); in WriteConstantInternal() local 1624 WriterCtx.TypePrinter->print(ETy, Out); in WriteConstantInternal() 1629 WriterCtx.TypePrinter->print(ETy, Out); in WriteConstantInternal() 1647 Type *ETy = CA->getType()->getElementType(); in WriteConstantInternal() local 1649 WriterCtx.TypePrinter->print(ETy, Out); in WriteConstantInternal() 1654 WriterCtx.TypePrinter->print(ETy, Out); in WriteConstantInternal() 1692 Type *ETy = CVVTy->getElementType(); in WriteConstantInternal() local 1694 WriterCtx.TypePrinter->print(ETy, Out); in WriteConstantInternal() 1699 WriterCtx.TypePrinter->print(ETy, Out); in WriteConstantInternal()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FastISel.cpp | 1567 EVT ETy = TLI.getValueType(DL, I->getOperand(0)->getType()); in selectFreeze() local 1568 if (ETy == MVT::Other || !TLI.isTypeLegal(ETy)) in selectFreeze() 1572 MVT Ty = ETy.getSimpleVT(); in selectFreeze()
|
H A D | LegalizeIntegerTypes.cpp | 374 ISD::LoadExtType ETy = cast<AtomicSDNode>(N)->getExtensionType(); in PromoteIntRes_Atomic0() local 375 if (ETy == ISD::NON_EXTLOAD) { in PromoteIntRes_Atomic0() 378 ETy = ISD::SEXTLOAD; in PromoteIntRes_Atomic0() 381 ETy = ISD::ZEXTLOAD; in PromoteIntRes_Atomic0() 384 ETy = ISD::EXTLOAD; in PromoteIntRes_Atomic0() 390 cast<AtomicSDNode>(Res)->setExtensionType(ETy); in PromoteIntRes_Atomic0()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonVectorCombine.cpp | 2228 EVT ETy = EVT::getEVT(ElemTy, false); in getHvxTy() local 2229 assert(ETy.isSimple() && "Invalid HVX element type"); in getHvxTy() 2231 assert(HST.isHVXElementType(ETy.getSimpleVT(), /*IncludeBool=*/false) && in getHvxTy() 2234 unsigned NumElems = (8 * HwLen) / ETy.getSizeInBits(); in getHvxTy()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 2520 Type *ETy = getEffectiveSCEVType(Ops[0]->getType()); in getAddExpr() local 2522 assert(getEffectiveSCEVType(Ops[i]->getType()) == ETy && in getAddExpr() 3115 Type *ETy = Ops[0]->getType(); in getMulExpr() local 3116 assert(!ETy->isPointerTy()); in getMulExpr() 3118 assert(Ops[i]->getType() == ETy && in getMulExpr() 3670 Type *ETy = getEffectiveSCEVType(Operands[0]->getType()); in getAddRecExpr() local 3672 assert(getEffectiveSCEVType(Op->getType()) == ETy && in getAddRecExpr() 3841 Type *ETy = getEffectiveSCEVType(Ops[0]->getType()); in getMinMaxExpr() local 3843 assert(getEffectiveSCEVType(Ops[i]->getType()) == ETy && in getMinMaxExpr() 4263 Type *ETy = getEffectiveSCEVType(Ops[0]->getType()); in getSequentialMinMaxExpr() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.cpp | 6468 EVT ETy = TLI->getValueType(DL, VT); in getInterleavedMemoryOpCost() local 6469 if (!ETy.isSimple()) in getInterleavedMemoryOpCost() 6692 ETy.getSimpleVT())) in getInterleavedMemoryOpCost() 6697 ETy.getSimpleVT())) in getInterleavedMemoryOpCost() 6702 ETy.getSimpleVT())) in getInterleavedMemoryOpCost() 6711 ETy.getSimpleVT())) in getInterleavedMemoryOpCost() 6716 ETy.getSimpleVT())) in getInterleavedMemoryOpCost()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaInit.cpp | 7594 QualType ETy = Entity.getType(); in Perform() local 7595 bool HasGlobalAS = ETy.hasAddressSpace() && in Perform() 7596 ETy.getAddressSpace() == LangAS::opencl_global; in Perform() 7599 ETy->isAtomicType() && !HasGlobalAS && in Perform()
|