| /openbsd-src/gnu/llvm/llvm/include/llvm/Bitcode/ |
| H A D | BitcodeConvenience.h | 150 template <typename ElementTy> class BCArray : public detail::BCField<true> { 151 static_assert(!ElementTy::IsCompound, "arrays can only contain scalar types"); 156 ElementTy::emitOp(abbrev); in emitOp() 186 template <typename ElementTy, typename... Fields> class BCRecordCoding { 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() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | DynamicExtent.cpp | 46 QualType ElementTy) { in getDynamicElementCount() argument 51 SVal ElementSize = getElementExtent(ElementTy, SVB); in getDynamicElementCount()
|
| H A D | RegionStore.cpp | 390 SVal ArrayToPointer(Loc Array, QualType ElementTy) override; 1178 QualType ElementTy = AT->getElementType(); in VisitCluster() local 1179 uint64_t ElemSize = Ctx.getTypeSize(ElementTy); in VisitCluster() 2480 QualType ElementTy = AT->getElementType(); in bindArray() local 2520 const ElementRegion *ER = MRMgr.getElementRegion(ElementTy, Idx, R, Ctx); in bindArray() 2522 if (ElementTy->isStructureOrClassType()) in bindArray() 2524 else if (ElementTy->isArrayType()) in bindArray() 2534 NewB = setImplicitDefaultValue(NewB, R, ElementTy); in bindArray()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | Constants.h | 690 template <typename ElementTy> 691 static Constant *get(LLVMContext &Context, ArrayRef<ElementTy> Elts) { 693 return getRaw(StringRef(Data, Elts.size() * sizeof(ElementTy)), Elts.size(), 694 Type::getScalarTy<ElementTy>(Context)); 711 Type *ElementTy) { 712 Type *Ty = ArrayType::get(ElementTy, NumElements); 783 Type *ElementTy) { 784 Type *Ty = VectorType::get(ElementTy, ElementCount::getFixed(NumElements));
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 1702 Type *ElementTy = Ty; in getNaturalGEPWithType() local 1704 if (ElementTy->isPointerTy()) in getNaturalGEPWithType() 1707 if (ArrayType *ArrayTy = dyn_cast<ArrayType>(ElementTy)) { in getNaturalGEPWithType() 1708 ElementTy = ArrayTy->getElementType(); in getNaturalGEPWithType() 1710 } else if (VectorType *VectorTy = dyn_cast<VectorType>(ElementTy)) { in getNaturalGEPWithType() 1711 ElementTy = VectorTy->getElementType(); in getNaturalGEPWithType() 1713 } else if (StructType *STy = dyn_cast<StructType>(ElementTy)) { in getNaturalGEPWithType() 1716 ElementTy = *STy->element_begin(); in getNaturalGEPWithType() 1722 } while (ElementTy != TargetTy); in getNaturalGEPWithType() 1723 if (ElementTy != TargetTy) in getNaturalGEPWithType() [all …]
|
| H A D | LowerMatrixIntrinsics.cpp | 1080 Align getAlignForIndex(unsigned Idx, Value *Stride, Type *ElementTy, in getAlignForIndex() argument 1082 Align InitialAlign = DL.getValueOrABITypeAlignment(A, ElementTy); in getAlignForIndex() 1086 TypeSize ElementSizeInBits = DL.getTypeSizeInBits(ElementTy); in getAlignForIndex()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ExprInspectionChecker.cpp | 356 QualType ElementTy; in analyzerDumpElementCount() local 358 ElementTy = TVR->getValueType(); in analyzerDumpElementCount() 360 ElementTy = MR->castAs<SymbolicRegion>()->getPointeeStaticType(); in analyzerDumpElementCount() 363 assert(!ElementTy->isPointerType()); in analyzerDumpElementCount() 366 getDynamicElementCount(C.getState(), MR, C.getSValBuilder(), ElementTy); in analyzerDumpElementCount()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CallLowering.cpp | 210 Type *ElementTy = FuncInfo.getParamByValType(ParamIdx); in setArgFlags() local 211 if (!ElementTy) in setArgFlags() 212 ElementTy = FuncInfo.getParamInAllocaType(ParamIdx); in setArgFlags() 213 if (!ElementTy) in setArgFlags() 214 ElementTy = FuncInfo.getParamPreallocatedType(ParamIdx); in setArgFlags() 215 assert(ElementTy && "Must have byval, inalloca or preallocated type"); in setArgFlags() 216 Flags.setByValSize(DL.getTypeAllocSize(ElementTy)); in setArgFlags() 225 MemAlign = Align(getTLI()->getByValTypeAlignment(ElementTy, DL)); in setArgFlags()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.h | 284 bool isLegalBroadcastLoad(Type *ElementTy, ElementCount NumElements) const { in isLegalBroadcastLoad() argument 288 switch (unsigned ElementBits = ElementTy->getScalarSizeInBits()) { in isLegalBroadcastLoad()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | MicrosoftMangle.cpp | 2908 QualType ElementTy(T, 0); in mangleArrayType() local 2911 if (ElementTy->isConstantArrayType()) { in mangleArrayType() 2913 getASTContext().getAsConstantArrayType(ElementTy); in mangleArrayType() 2915 ElementTy = CAT->getElementType(); in mangleArrayType() 2916 } else if (ElementTy->isIncompleteArrayType()) { in mangleArrayType() 2918 getASTContext().getAsIncompleteArrayType(ElementTy); in mangleArrayType() 2920 ElementTy = IAT->getElementType(); in mangleArrayType() 2921 } else if (ElementTy->isVariableArrayType()) { in mangleArrayType() 2923 getASTContext().getAsVariableArrayType(ElementTy); in mangleArrayType() 2925 ElementTy = VAT->getElementType(); in mangleArrayType() [all …]
|
| H A D | ASTDiagnostic.cpp | 139 QualType ElementTy = in desugarForDiagnostic() local 143 ElementTy, CAT->getSize(), CAT->getSizeExpr(), in desugarForDiagnostic() 147 ElementTy, VAT->getSizeExpr(), VAT->getSizeModifier(), in desugarForDiagnostic() 151 ElementTy, DSAT->getSizeExpr(), DSAT->getSizeModifier(), in desugarForDiagnostic() 154 QT = Context.getIncompleteArrayType(ElementTy, IAT->getSizeModifier(), in desugarForDiagnostic()
|
| /openbsd-src/gnu/llvm/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 | 989 const CXXNewExpr *E, QualType ElementType, llvm::Type *ElementTy, in EmitNewArrayInitializer() argument 1079 ElementTy = ConvertTypeForMem(AllocType); in EmitNewArrayInitializer() 1080 CurPtr = Builder.CreateElementBitCast(CurPtr, ElementTy); in EmitNewArrayInitializer() 1281 Builder.CreateConstInBoundsGEP1_32(ElementTy, CurPtr.getPointer(), 1, in EmitNewArrayInitializer() 1294 QualType ElementType, llvm::Type *ElementTy, in EmitNewInitializer() argument 1299 CGF.EmitNewArrayInitializer(E, ElementType, ElementTy, NewPtr, NumElements, in EmitNewInitializer()
|
| /openbsd-src/gnu/llvm/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()
|
| H A D | ExprEngine.h | 853 const QualType &ElementTy, const LocationContext *LCtx,
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 1162 Type *ElementTy = getLoadStoreType(&I); in collectConstStrideAccesses() local 1166 uint64_t Size = DL.getTypeAllocSize(ElementTy); in collectConstStrideAccesses() 1167 if (Size * 8 != DL.getTypeSizeInBits(ElementTy)) in collectConstStrideAccesses() 1178 getPtrStride(PSE, ElementTy, Ptr, TheLoop, Strides, in collectConstStrideAccesses()
|
| H A D | TargetTransformInfo.cpp | 412 bool TargetTransformInfo::isLegalBroadcastLoad(Type *ElementTy, in isLegalBroadcastLoad() argument 414 return TTIImpl->isLegalBroadcastLoad(ElementTy, NumElements); in isLegalBroadcastLoad()
|
| /openbsd-src/gnu/llvm/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() 584 LLVMTypeRef llvm_vector_type(LLVMTypeRef ElementTy, value Count) { in llvm_vector_type() argument 585 return LLVMVectorType(ElementTy, Int_val(Count)); in llvm_vector_type() 932 LLVMValueRef llvm_const_array(LLVMTypeRef ElementTy, value ElementVals) { in llvm_const_array() argument 933 return LLVMConstArray(ElementTy, (LLVMValueRef *)Op_val(ElementVals), in llvm_const_array()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.h | 246 bool isLegalBroadcastLoad(Type *ElementTy, ElementCount NumElements) const;
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 653 bool isLegalBroadcastLoad(Type *ElementTy, ElementCount NumElements) const; 1650 virtual bool isLegalBroadcastLoad(Type *ElementTy, 2087 bool isLegalBroadcastLoad(Type *ElementTy, in isLegalBroadcastLoad() argument 2089 return Impl.isLegalBroadcastLoad(ElementTy, NumElements); in isLegalBroadcastLoad()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | SanitizerCoverage.cpp | 895 auto CallbackIdx = [&](Type *ElementTy) -> int { in InjectTraceForLoadsAndStores() argument 896 uint64_t TypeSize = DL->getTypeStoreSizeInBits(ElementTy); in InjectTraceForLoadsAndStores()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/TableGen/ |
| H A D | Record.h | 190 RecTy *ElementTy; variable 193 : RecTy(ListRecTyKind, T->getRecordKeeper()), ElementTy(T) {} in ListRecTy() 201 RecTy *getElementType() const { return ElementTy; } in getElementType()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Constants.cpp | 1174 template <typename SequentialTy, typename ElementTy> 1178 SmallVector<ElementTy, 16> Elts; in getIntSequenceIfElementsMatch() 1187 template <typename SequentialTy, typename ElementTy> 1191 SmallVector<ElementTy, 16> Elts; in getFPSequenceIfElementsMatch()
|