HomeSort by: relevance | last modified time | path
    Searched defs:arrayType (Results 1 - 5 of 5) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
SwiftCallingConv.cpp 74 auto arrayType = CGM.getContext().getAsConstantArrayType(type);
75 if (!arrayType) return;
77 QualType eltType = arrayType->getElementType();
79 for (uint64_t i = 0, e = arrayType->getSize().getZExtValue(); i != e; ++i) {
274 (!isa<llvm::StructType>(type) && !isa<llvm::ArrayType>(type))) &&
586 auto padding = llvm::ArrayType::get(llvm::Type::getInt8Ty(ctx),
CodeGenFunction.cpp 1977 llvm::Value *CodeGenFunction::emitArrayLength(const ArrayType *origArrayType,
1980 const ArrayType *arrayType = origArrayType;
1985 if (isa<VariableArrayType>(arrayType)) {
1986 numVLAElements = getVLASize(cast<VariableArrayType>(arrayType)).NumElts;
1991 QualType elementType = arrayType->getElementType();
1992 arrayType = getContext().getAsArrayType(elementType);
1995 if (!arrayType) {
1999 } while (isa<VariableArrayType>(arrayType));
2017 llvm::ArrayType *llvmArrayType
    [all...]
CGDecl.cpp 1035 auto *PadTy = llvm::ArrayType::get(Int8Ty, CurOff - SizeSoFar);
1051 auto *PadTy = llvm::ArrayType::get(Int8Ty, TotalSize - SizeSoFar);
1066 if (auto *ArrayTy = dyn_cast<llvm::ArrayType>(OrigTy)) {
1088 auto *NewArrayTy = llvm::ArrayType::get(NewElemTy, Size);
1229 } else if (auto *ATy = dyn_cast<llvm::ArrayType>(Ty)) {
1303 return llvm::ConstantArray::get(cast<llvm::ArrayType>(Ty), Values);
2180 const ArrayType *arrayType = getContext().getAsArrayType(type);
2181 if (!arrayType)
2184 llvm::Value *length = emitArrayLength(arrayType, type, addr)
    [all...]
CGExpr.cpp 159 auto *ArrayTy = cast<llvm::ArrayType>(Result.getType()->getElementType());
846 llvm::Type *HashTable = llvm::ArrayType::get(IntPtrTy, CacheSize);
888 const ArrayType *AT = E->getType()->castAsArrayTypeUnsafe();
974 const ArrayType *AT = IndexedType->castAsArrayTypeUnsafe();
1793 auto *ArrayTy = dyn_cast<llvm::ArrayType>(
1804 auto *ArrayTy = llvm::ArrayType::get(
1815 // pointer to memory address (ArrayType) to a pointer to the value type
1883 // to memory address (ArrayType) to a pointer to the value type (VectorType).
3549 assert(isa<llvm::ArrayType>(Addr.getElementType()) &&
3663 QualType *arrayType = nullptr
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaInit.cpp 64 static StringInitFailureKind IsStringInit(Expr *Init, const ArrayType *AT,
139 const ArrayType *arrayType = Context.getAsArrayType(declType);
140 if (!arrayType)
142 return IsStringInit(init, arrayType, Context);
145 bool Sema::IsStringInit(Expr *Init, const ArrayType *AT) {
194 static void CheckStringInit(Expr *Str, QualType &DeclT, const ArrayType *AT,
208 ArrayType::Normal, 0);
841 if (const ArrayType *AType = SemaRef.Context.getAsArrayType(ILE->getType())) {
1419 } else if (const ArrayType *arrayType
    [all...]

Completed in 34 milliseconds