| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Bitcode/ |
| H A D | BitcodeConvenience.h | 156 ElementTy::emitOp(abbrev); in emitOp() 191 static_assert(!ElementTy::IsCompound, in emit() 193 ElementTy::assertValid(element); in emit() 203 element = ElementTy::convert(buffer.front()); in read() 223 template <typename ElementTy> class BCRecordCoding<ElementTy> { 228 static_assert(!ElementTy::IsCompound, in emit() 230 ElementTy::assertValid(data); in emit() 238 data = ElementTy::convert(buffer.front()); in read() 252 template <typename ElementTy> class BCRecordCoding<BCArray<ElementTy>> { 266 ElementTy::assertValid(element); in emit() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | DynamicExtent.cpp | 74 QualType ElementTy) { in getDynamicElementCount() argument 78 DefinedOrUnknownSVal ElementSize = getElementExtent(ElementTy, SVB); in getDynamicElementCount() 108 QualType ElementTy) { in getDynamicElementCountWithOffset() argument 114 DefinedOrUnknownSVal ElementSize = getElementExtent(ElementTy, SVB); in getDynamicElementCountWithOffset()
|
| H A D | RegionStore.cpp | 392 SVal ArrayToPointer(Loc Array, QualType ElementTy) override; 1172 QualType ElementTy = AT->getElementType(); in VisitCluster() local 1173 uint64_t ElemSize = Ctx.getTypeSize(ElementTy); in VisitCluster() 2464 QualType ElementTy = AT->getElementType(); in bindArray() local 2504 const ElementRegion *ER = MRMgr.getElementRegion(ElementTy, Idx, R, Ctx); in bindArray() 2506 if (ElementTy->isStructureOrClassType()) in bindArray() 2508 else if (ElementTy->isArrayType()) in bindArray() 2518 NewB = setImplicitDefaultValue(NewB, R, ElementTy); in bindArray()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ABIInfoImpl.cpp | 219 llvm::Type *DirectTy = CGF.ConvertTypeForMem(ValueTy), *ElementTy = DirectTy; in emitVoidPtrVAArg() local 230 Addr = Address(CGF.Builder.CreateLoad(Addr), ElementTy, ValueInfo.Align); in emitVoidPtrVAArg() 400 llvm::Type *ElementTy = CGF.ConvertTypeForMem(Ty); in EmitVAArgInstr() local 401 llvm::Type *BaseTy = llvm::PointerType::getUnqual(ElementTy); in EmitVAArgInstr() 404 return Address(Addr, ElementTy, TyAlignForABI); in EmitVAArgInstr()
|
| H A D | CGBuilder.h | 157 llvm::Type *ElementTy, 161 return Address(Ptr, ElementTy, Addr.getAlignment(), Addr.isKnownNonNull());
|
| H A D | CGRecordLayoutBuilder.cpp | 985 llvm::Type *ElementTy = ST->getTypeAtIndex(RL->getLLVMFieldNo(FD)); in ComputeRecordLayout() local 1006 getDataLayout().getTypeAllocSizeInBits(ElementTy) || in ComputeRecordLayout() 1008 getDataLayout().getTypeAllocSizeInBits(ElementTy)) && in ComputeRecordLayout()
|
| H A D | CGExprCXX.cpp | 993 const CXXNewExpr *E, QualType ElementType, llvm::Type *ElementTy, in EmitNewArrayInitializer() argument 1100 ElementTy = ConvertTypeForMem(AllocType); in EmitNewArrayInitializer() 1101 CurPtr = CurPtr.withElementType(ElementTy); in EmitNewArrayInitializer() 1300 Builder.CreateConstInBoundsGEP1_32(ElementTy, CurPtr.getPointer(), 1, in EmitNewArrayInitializer() 1313 QualType ElementType, llvm::Type *ElementTy, in EmitNewInitializer() argument 1318 CGF.EmitNewArrayInitializer(E, ElementType, ElementTy, NewPtr, NumElements, in EmitNewInitializer()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constants.h | 689 template <typename ElementTy> 690 static Constant *get(LLVMContext &Context, ArrayRef<ElementTy> Elts) { 692 return getRaw(StringRef(Data, Elts.size() * sizeof(ElementTy)), Elts.size(), 693 Type::getScalarTy<ElementTy>(Context)); 710 Type *ElementTy) { 711 Type *Ty = ArrayType::get(ElementTy, NumElements); 782 Type *ElementTy) { 783 Type *Ty = VectorType::get(ElementTy, ElementCount::getFixed(NumElements));
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ExprInspectionChecker.cpp | 352 QualType ElementTy; in analyzerDumpElementCount() local 354 ElementTy = TVR->getValueType(); in analyzerDumpElementCount() 356 ElementTy = MR->castAs<SymbolicRegion>()->getPointeeStaticType(); in analyzerDumpElementCount() 359 assert(!ElementTy->isPointerType()); in analyzerDumpElementCount() 362 C.getState(), C.getSVal(getArgExpr(CE, C)), ElementTy); in analyzerDumpElementCount()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CallLowering.cpp | 217 Type *ElementTy = FuncInfo.getParamByValType(ParamIdx); in setArgFlags() local 218 if (!ElementTy) in setArgFlags() 219 ElementTy = FuncInfo.getParamInAllocaType(ParamIdx); in setArgFlags() 220 if (!ElementTy) in setArgFlags() 221 ElementTy = FuncInfo.getParamPreallocatedType(ParamIdx); in setArgFlags() 222 assert(ElementTy && "Must have byval, inalloca or preallocated type"); in setArgFlags() 223 Flags.setByValSize(DL.getTypeAllocSize(ElementTy)); in setArgFlags() 232 MemAlign = Align(getTLI()->getByValTypeAlignment(ElementTy, DL)); in setArgFlags()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64Arm64ECCallLowering.cpp | 295 Type *ElementTy = T->getArrayElementType(); in canonicalizeThunkType() local 297 uint64_t ElementSizePerBytes = DL.getTypeSizeInBits(ElementTy) / 8; in canonicalizeThunkType() 299 if (ElementTy->isFloatTy() || ElementTy->isDoubleTy()) { in canonicalizeThunkType() 300 Out << (ElementTy->isFloatTy() ? "F" : "D") << TotalSizeBytes; in canonicalizeThunkType()
|
| H A D | AArch64TargetTransformInfo.h | 299 bool isLegalBroadcastLoad(Type *ElementTy, ElementCount NumElements) const { in isLegalBroadcastLoad() argument 303 switch (unsigned ElementBits = ElementTy->getScalarSizeInBits()) { in isLegalBroadcastLoad()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 2685 Type *ElementTy; member in __anonc3d49dbe0d11::AllocaSliceRewriter 3021 ? ElementTy in rewriteVectorizedStoreInst() 3247 assert(ElementTy == ScalarTy); in visitMemSetInst() 3258 Splat = convertValue(DL, IRB, Splat, ElementTy); in visitMemSetInst() 4140 Type *ElementTy; in getTypePartition() local 4143 ElementTy = AT->getElementType(); in getTypePartition() 4149 ElementTy = VT->getElementType(); in getTypePartition() 4169 return stripAggregateTypeWrapping(DL, ElementTy); in getTypePartition() 4174 return ArrayType::get(ElementTy, NumElements); in getTypePartition() 4195 Type *ElementTy = STy->getElementType(Index); in getTypePartition() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | MicrosoftMangle.cpp | 3042 QualType ElementTy(T, 0); in mangleArrayType() local 3045 if (ElementTy->isConstantArrayType()) { in mangleArrayType() 3047 getASTContext().getAsConstantArrayType(ElementTy); in mangleArrayType() 3049 ElementTy = CAT->getElementType(); in mangleArrayType() 3050 } else if (ElementTy->isIncompleteArrayType()) { in mangleArrayType() 3054 ElementTy = IAT->getElementType(); in mangleArrayType() 3055 } else if (ElementTy->isVariableArrayType()) { in mangleArrayType() 3057 getASTContext().getAsVariableArrayType(ElementTy); in mangleArrayType() 3059 ElementTy = VAT->getElementType(); in mangleArrayType() 3060 } else if (ElementTy->isDependentSizedArrayType()) { in mangleArrayType() [all …]
|
| H A D | ASTDiagnostic.cpp | 140 QualType ElementTy = in desugarForDiagnostic() local 144 ElementTy, CAT->getSize(), CAT->getSizeExpr(), in desugarForDiagnostic() 148 ElementTy, VAT->getSizeExpr(), VAT->getSizeModifier(), in desugarForDiagnostic() 152 ElementTy, DSAT->getSizeExpr(), DSAT->getSizeModifier(), in desugarForDiagnostic() 155 QT = Context.getIncompleteArrayType(ElementTy, IAT->getSizeModifier(), in desugarForDiagnostic()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 1082 Type *ElementTy = getLoadStoreType(&I); in collectConstStrideAccesses() local 1086 uint64_t Size = DL.getTypeAllocSize(ElementTy); in collectConstStrideAccesses() 1087 if (Size * 8 != DL.getTypeSizeInBits(ElementTy)) in collectConstStrideAccesses() 1098 getPtrStride(PSE, ElementTy, Ptr, TheLoop, Strides, in collectConstStrideAccesses()
|
| H A D | TargetTransformInfo.cpp | 464 bool TargetTransformInfo::isLegalBroadcastLoad(Type *ElementTy, in isLegalBroadcastLoad() argument 466 return TTIImpl->isLegalBroadcastLoad(ElementTy, NumElements); in isLegalBroadcastLoad()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | Store.h | 154 virtual SVal ArrayToPointer(Loc Array, QualType ElementTy) = 0;
|
| H A D | ProgramState.h | 590 SVal ArrayToPointer(Loc Array, QualType ElementTy) { in ArrayToPointer() argument 591 return StoreMgr->ArrayToPointer(Array, ElementTy); in ArrayToPointer()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.h | 264 bool isLegalBroadcastLoad(Type *ElementTy, ElementCount NumElements) const;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | AArch64.cpp | 644 llvm::Type *MemTy = CGF.ConvertTypeForMem(Ty), *ElementTy = MemTy; in EmitAAPCSVAArg() local 764 return Address(CGF.Builder.CreateLoad(ResAddr, "vaarg.addr"), ElementTy, in EmitAAPCSVAArg()
|
| H A D | PPC.cpp | 432 llvm::Type *DirectTy = CGF.ConvertType(Ty), *ElementTy = DirectTy; in EmitVAArg() local 516 Result = Address(Builder.CreateLoad(Result, "aggr"), ElementTy, in EmitVAArg()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 766 bool isLegalBroadcastLoad(Type *ElementTy, ElementCount NumElements) const; 1841 virtual bool isLegalBroadcastLoad(Type *ElementTy, 2320 bool isLegalBroadcastLoad(Type *ElementTy, in isLegalBroadcastLoad() argument 2322 return Impl.isLegalBroadcastLoad(ElementTy, NumElements); in isLegalBroadcastLoad()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | SanitizerCoverage.cpp | 876 auto CallbackIdx = [&](Type *ElementTy) -> int { in InjectTraceForLoadsAndStores() argument 877 uint64_t TypeSize = DL->getTypeStoreSizeInBits(ElementTy); in InjectTraceForLoadsAndStores()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/TableGen/ |
| H A D | Record.h | 189 RecTy *ElementTy; variable 192 : RecTy(ListRecTyKind, T->getRecordKeeper()), ElementTy(T) {} in ListRecTy() 200 RecTy *getElementType() const { return ElementTy; } in getElementType()
|