Searched refs:ArrayTy (Results 1 - 19 of 19) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp64 if (const ConstantArrayType *ArrayTy =
67 if (ArrayTy->getSize() == 1 && TypeSize > FlexSize)
69 else if (ArrayTy->getSize() != 0)
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h43 typedef std::vector<DocNode> ArrayTy; typedef in class:llvm::msgpack::DocNode
60 ArrayTy *Array;
225 ArrayTy::iterator begin() { return Array->begin(); }
226 ArrayTy::iterator end() { return Array->end(); }
243 std::vector<std::unique_ptr<DocNode::ArrayTy>> Arrays;
343 Arrays.push_back(std::unique_ptr<DocNode::ArrayTy>(new DocNode::ArrayTy));
/freebsd-12-stable/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackDocument.cpp174 DocNode::ArrayTy::iterator ArrayIt;
195 {Node, Node.getMap().begin(), DocNode::ArrayTy::iterator(), true});
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp300 static VectorType *arrayTypeToVecType(ArrayType *ArrayTy) { argument
301 return VectorType::get(ArrayTy->getElementType(),
302 ArrayTy->getNumElements());
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp646 ArrayType *ArrayTy = ArrayType::get(Ty, NumElements); local
648 *CurModule, ArrayTy, false, GlobalVariable::PrivateLinkage,
649 Constant::getNullValue(ArrayTy), "__sancov_gen_");
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h709 /// get() constructor - ArrayTy needs to be compatible with
711 template <typename ArrayTy>
712 static Constant *get(LLVMContext &Context, ArrayTy &Elts) {
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp1072 auto *ArrayTy = llvm::ArrayType::get(NewElemTy, Size); local
1073 return llvm::ConstantArray::get(ArrayTy, Values);
H A DCGOpenMPRuntime.cpp870 const ArrayType *ArrayTy = Type->getAsArrayTypeUnsafe(); local
871 llvm::Value *NumElements = CGF.emitArrayLength(ArrayTy, ElementTy, DestAddr);
5462 const ArrayType *ArrayTy = Type->getAsArrayTypeUnsafe(); local
5463 llvm::Value *NumElements = CGF.emitArrayLength(ArrayTy, ElementTy, LHSAddr);
10827 QualType ArrayTy = local
10830 Address DimsAddr = CGF.CreateMemTemp(ArrayTy, "dims");
10831 CGF.EmitNullInitialization(DimsAddr, ArrayTy);
10878 QualType ArrayTy = CGM.getContext().getConstantArrayType( local
10880 Address CntAddr = CGF.CreateMemTemp(ArrayTy, ".cnt.addr");
H A DCGExpr.cpp3775 QualType ArrayTy = BaseTy->isPointerType() local
3778 if (auto *VAT = C.getAsVariableArrayType(ArrayTy)) {
3783 auto *CAT = C.getAsConstantArrayType(ArrayTy);
H A DCGStmtOpenMP.cpp651 const ArrayType *ArrayTy = OriginalType->getAsArrayTypeUnsafe(); local
652 llvm::Value *NumElements = emitArrayLength(ArrayTy, ElementTy, DestAddr);
H A DCodeGenFunction.h2552 const ArrayType *ArrayTy,
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp2543 QualType ArrayTy = PVD->getOriginalType(); local
2545 if (PointerTy->isPointerType() && ArrayTy->isArrayType()) {
2547 << RangeLoc << PVD << ArrayTy << PointerTy;
H A DSemaDeclCXX.cpp13397 const ConstantArrayType *ArrayTy = S.Context.getAsConstantArrayType(T);
13398 if (!ArrayTy) {
13453 buildSingleCopyAssignRecursively(S, Loc, ArrayTy->getElementType(),
13462 = ArrayTy->getSize().zextOrTrunc(S.Context.getTypeSize(SizeType));
H A DSemaExpr.cpp9366 } else if (const auto *ArrayTy = S.Context.getAsArrayType(LHSTy)) {
9367 QualType ArrayElemTy = ArrayTy->getElementType();
9368 if (ArrayElemTy != S.Context.getBaseElementType(ArrayTy) ||
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp3673 ArrayType *ArrayTy; local
3676 if ( (ArrayTy = dyn_cast<ArrayType>(GVTy)) ) {
3696 ArrayTy = Array->getType();
3698 if (!ArrayTy->getElementType()->isIntegerTy(ElementSize))
3701 uint64_t NumElts = ArrayTy->getArrayNumElements();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp5137 ArrayType *ArrayTy = ArrayType::get(ValueType, TableSize); local
5138 Constant *Initializer = ConstantArray::get(ArrayTy, TableContents);
5140 Array = new GlobalVariable(M, ArrayTy, /*isConstant=*/true,
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h1406 unsigned LLVMGetArrayLength(LLVMTypeRef ArrayTy);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp766 unsigned LLVMGetArrayLength(LLVMTypeRef ArrayTy) { argument
767 return unwrap<ArrayType>(ArrayTy)->getNumElements();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1439 if (ArrayType *ArrayTy = dyn_cast<ArrayType>(ElementTy)) {
1440 ElementTy = ArrayTy->getElementType();

Completed in 689 milliseconds