| /llvm-project-15.0.7/llvm/include/llvm/Bitcode/ |
| H A D | BitcodeConvenience.h | 155 ElementTy::emitOp(abbrev); in emitOp() 190 static_assert(!ElementTy::IsCompound, in emit() 192 ElementTy::assertValid(element); in emit() 202 element = ElementTy::convert(buffer.front()); in read() 222 template <typename ElementTy> class BCRecordCoding<ElementTy> { 227 static_assert(!ElementTy::IsCompound, in emit() 229 ElementTy::assertValid(data); in emit() 237 data = ElementTy::convert(buffer.front()); in read() 251 template <typename ElementTy> class BCRecordCoding<BCArray<ElementTy>> { 265 ElementTy::assertValid(element); in emit() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Bindings/Python/ |
| H A D | PybindUtils.h | 217 template <typename Derived, typename ElementTy> 277 ElementTy getElement(intptr_t index) { 293 std::vector<ElementTy> dunderAdd(Derived &other) { 294 std::vector<ElementTy> elements;
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | DynamicExtent.cpp | 46 QualType ElementTy) { in getDynamicElementCount() argument 50 SVal ElementSize = getElementExtent(ElementTy, SVB); in getDynamicElementCount()
|
| H A D | RegionStore.cpp | 386 SVal ArrayToPointer(Loc Array, QualType ElementTy) override; 1173 QualType ElementTy = AT->getElementType(); in VisitCluster() local 1174 uint64_t ElemSize = Ctx.getTypeSize(ElementTy); in VisitCluster() 2478 QualType ElementTy = AT->getElementType(); in bindArray() local 2517 const ElementRegion *ER = MRMgr.getElementRegion(ElementTy, Idx, R, Ctx); in bindArray() 2519 if (ElementTy->isStructureOrClassType()) in bindArray() 2521 else if (ElementTy->isArrayType()) in bindArray() 2531 NewB = setImplicitDefaultValue(NewB, R, ElementTy); in bindArray()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 1470 Type *ElementTy = Ty; in getNaturalGEPWithType() local 1472 if (ElementTy->isPointerTy()) in getNaturalGEPWithType() 1484 ElementTy = *STy->element_begin(); in getNaturalGEPWithType() 1490 } while (ElementTy != TargetTy); in getNaturalGEPWithType() 1491 if (ElementTy != TargetTy) in getNaturalGEPWithType() 1519 if (!ElementTy->isSized()) in getNaturalGEPWithOffset() 2280 Type *ElementTy; member in llvm::sroa::AllocaSliceRewriter 2602 ? ElementTy in rewriteVectorizedStoreInst() 2819 assert(ElementTy == ScalarTy); in visitMemSetInst() 3644 Type *ElementTy; in getTypePartition() local [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Constants.h | 691 template <typename ElementTy> 692 static Constant *get(LLVMContext &Context, ArrayRef<ElementTy> Elts) { 694 return getRaw(StringRef(Data, Elts.size() * sizeof(ElementTy)), Elts.size(), 695 Type::getScalarTy<ElementTy>(Context)); 712 Type *ElementTy) { 713 Type *Ty = ArrayType::get(ElementTy, NumElements); 784 Type *ElementTy) { 785 Type *Ty = VectorType::get(ElementTy, ElementCount::getFixed(NumElements));
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ExprInspectionChecker.cpp | 353 QualType ElementTy; in analyzerDumpElementCount() local 355 ElementTy = TVR->getValueType(); in analyzerDumpElementCount() 357 ElementTy = in analyzerDumpElementCount() 361 assert(!ElementTy->isPointerType()); in analyzerDumpElementCount() 364 getDynamicElementCount(C.getState(), MR, C.getSValBuilder(), ElementTy); in analyzerDumpElementCount()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CallLowering.cpp | 195 Type *ElementTy = FuncInfo.getParamByValType(ParamIdx); in setArgFlags() local 196 if (!ElementTy) in setArgFlags() 197 ElementTy = FuncInfo.getParamInAllocaType(ParamIdx); in setArgFlags() 198 if (!ElementTy) in setArgFlags() 199 ElementTy = FuncInfo.getParamPreallocatedType(ParamIdx); in setArgFlags() 200 assert(ElementTy && "Must have byval, inalloca or preallocated type"); in setArgFlags() 201 Flags.setByValSize(DL.getTypeAllocSize(ElementTy)); in setArgFlags() 210 MemAlign = Align(getTLI()->getByValTypeAlignment(ElementTy, DL)); in setArgFlags()
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/cuda/src/ |
| H A D | rtl.cpp | 174 using ElementTy = T; typedef 228 using ElementTy = typename AllocTy::ElementTy; typedef in __anondfa3b3cd0111::__anondfa3b3cd0211::ResourcePoolTy 240 std::vector<ElementTy> Resources; 241 std::vector<ElementTy> Pool; 254 ElementTy NewItem; in resize() 284 int acquire(ElementTy &R) noexcept { in acquire() 311 void release(ElementTy R) noexcept { in release()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.h | 285 bool isLegalBroadcastLoad(Type *ElementTy, ElementCount NumElements) const { in isLegalBroadcastLoad() argument 289 switch (unsigned ElementBits = ElementTy->getScalarSizeInBits()) { in isLegalBroadcastLoad()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SizeofExpressionCheck.cpp | 301 const auto *ElementTy = Result.Nodes.getNodeAs<Type>("elem-type"); in check() local 306 CharUnits ElementSize = getSizeOfType(Ctx, ElementTy); in check()
|
| /llvm-project-15.0.7/llvm/bindings/ocaml/llvm/ |
| H A D | llvm_ocaml.c | 569 LLVMTypeRef llvm_array_type(LLVMTypeRef ElementTy, value Count) { in llvm_array_type() argument 570 return LLVMArrayType(ElementTy, Int_val(Count)); in llvm_array_type() 574 LLVMTypeRef llvm_pointer_type(LLVMTypeRef ElementTy) { in llvm_pointer_type() argument 575 return LLVMPointerType(ElementTy, 0); in llvm_pointer_type() 579 LLVMTypeRef llvm_qualified_pointer_type(LLVMTypeRef ElementTy, in llvm_qualified_pointer_type() argument 581 return LLVMPointerType(ElementTy, Int_val(AddressSpace)); in llvm_qualified_pointer_type() 585 LLVMTypeRef llvm_vector_type(LLVMTypeRef ElementTy, value Count) { in llvm_vector_type() argument 586 return LLVMVectorType(ElementTy, Int_val(Count)); in llvm_vector_type() 933 LLVMValueRef llvm_const_array(LLVMTypeRef ElementTy, value ElementVals) { in llvm_const_array() argument 934 return LLVMConstArray(ElementTy, (LLVMValueRef *)Op_val(ElementVals), in llvm_const_array()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | MicrosoftMangle.cpp | 2901 QualType ElementTy(T, 0); in mangleArrayType() local 2904 if (ElementTy->isConstantArrayType()) { in mangleArrayType() 2906 getASTContext().getAsConstantArrayType(ElementTy); in mangleArrayType() 2908 ElementTy = CAT->getElementType(); in mangleArrayType() 2909 } else if (ElementTy->isIncompleteArrayType()) { in mangleArrayType() 2913 ElementTy = IAT->getElementType(); in mangleArrayType() 2914 } else if (ElementTy->isVariableArrayType()) { in mangleArrayType() 2916 getASTContext().getAsVariableArrayType(ElementTy); in mangleArrayType() 2918 ElementTy = VAT->getElementType(); in mangleArrayType() 2919 } 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()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGBuilder.h | 177 llvm::Type *ElementTy, 181 return Address(Ptr, ElementTy, Addr.getAlignment());
|
| H A D | CGRecordLayoutBuilder.cpp | 973 llvm::Type *ElementTy = ST->getTypeAtIndex(RL->getLLVMFieldNo(FD)); in ComputeRecordLayout() local 994 getDataLayout().getTypeAllocSizeInBits(ElementTy) || in ComputeRecordLayout() 996 getDataLayout().getTypeAllocSizeInBits(ElementTy)) && in ComputeRecordLayout()
|
| H A D | CGExprCXX.cpp | 986 const CXXNewExpr *E, QualType ElementType, llvm::Type *ElementTy, in EmitNewArrayInitializer() argument 1076 ElementTy = ConvertTypeForMem(AllocType); in EmitNewArrayInitializer() 1077 CurPtr = Builder.CreateElementBitCast(CurPtr, ElementTy); in EmitNewArrayInitializer() 1278 Builder.CreateConstInBoundsGEP1_32(ElementTy, CurPtr.getPointer(), 1, in EmitNewArrayInitializer() 1291 QualType ElementType, llvm::Type *ElementTy, in EmitNewInitializer() argument 1296 CGF.EmitNewArrayInitializer(E, ElementType, ElementTy, NewPtr, NumElements, in EmitNewInitializer()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 1111 Type *ElementTy = getLoadStoreType(&I); in collectConstStrideAccesses() local 1115 uint64_t Size = DL.getTypeAllocSize(ElementTy); in collectConstStrideAccesses() 1116 if (Size * 8 != DL.getTypeSizeInBits(ElementTy)) in collectConstStrideAccesses() 1126 int64_t Stride = getPtrStride(PSE, ElementTy, Ptr, TheLoop, Strides, in collectConstStrideAccesses()
|
| H A D | TargetTransformInfo.cpp | 407 bool TargetTransformInfo::isLegalBroadcastLoad(Type *ElementTy, in isLegalBroadcastLoad() argument 409 return TTIImpl->isLegalBroadcastLoad(ElementTy, NumElements); in isLegalBroadcastLoad()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | Store.h | 153 virtual SVal ArrayToPointer(Loc Array, QualType ElementTy) = 0;
|
| H A D | ProgramState.h | 588 SVal ArrayToPointer(Loc Array, QualType ElementTy) { in ArrayToPointer() argument 589 return StoreMgr->ArrayToPointer(Array, ElementTy); in ArrayToPointer()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.h | 235 bool isLegalBroadcastLoad(Type *ElementTy, ElementCount NumElements) const;
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 671 bool isLegalBroadcastLoad(Type *ElementTy, ElementCount NumElements) const; 1601 virtual bool isLegalBroadcastLoad(Type *ElementTy, 2017 bool isLegalBroadcastLoad(Type *ElementTy, in isLegalBroadcastLoad() argument 2019 return Impl.isLegalBroadcastLoad(ElementTy, NumElements); in isLegalBroadcastLoad()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | SanitizerCoverage.cpp | 866 auto CallbackIdx = [&](Type *ElementTy) -> int { in InjectTraceForLoadsAndStores() argument 867 uint64_t TypeSize = DL->getTypeStoreSizeInBits(ElementTy); in InjectTraceForLoadsAndStores()
|
| /llvm-project-15.0.7/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()
|