/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CastSizeChecker.cpp | 64 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 D | MsgPackDocument.h | 43 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 D | MsgPackDocument.cpp | 174 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 D | AMDGPUPromoteAlloca.cpp | 300 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 D | SanitizerCoverage.cpp | 646 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 D | Constants.h | 709 /// 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 D | CGDecl.cpp | 1072 auto *ArrayTy = llvm::ArrayType::get(NewElemTy, Size); local 1073 return llvm::ConstantArray::get(ArrayTy, Values);
|
H A D | CGOpenMPRuntime.cpp | 870 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 D | CGExpr.cpp | 3775 QualType ArrayTy = BaseTy->isPointerType() local 3778 if (auto *VAT = C.getAsVariableArrayType(ArrayTy)) { 3783 auto *CAT = C.getAsConstantArrayType(ArrayTy);
|
H A D | CGStmtOpenMP.cpp | 651 const ArrayType *ArrayTy = OriginalType->getAsArrayTypeUnsafe(); local 652 llvm::Value *NumElements = emitArrayLength(ArrayTy, ElementTy, DestAddr);
|
H A D | CodeGenFunction.h | 2552 const ArrayType *ArrayTy,
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 2543 QualType ArrayTy = PVD->getOriginalType(); local 2545 if (PointerTy->isPointerType() && ArrayTy->isArrayType()) { 2547 << RangeLoc << PVD << ArrayTy << PointerTy;
|
H A D | SemaDeclCXX.cpp | 13397 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 D | SemaExpr.cpp | 9366 } 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 D | ValueTracking.cpp | 3673 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 D | SimplifyCFG.cpp | 5137 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 D | Core.h | 1406 unsigned LLVMGetArrayLength(LLVMTypeRef ArrayTy);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Core.cpp | 766 unsigned LLVMGetArrayLength(LLVMTypeRef ArrayTy) { argument 767 return unwrap<ArrayType>(ArrayTy)->getNumElements();
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 1439 if (ArrayType *ArrayTy = dyn_cast<ArrayType>(ElementTy)) { 1440 ElementTy = ArrayTy->getElementType();
|