HomeSort by: relevance | last modified time | path
    Searched refs:ElementTy (Results 1 - 25 of 33) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/include/llvm/Bitcode/
BitcodeConvenience.h 149 template <typename ElementTy> class BCArray : public detail::BCField<true> {
150 static_assert(!ElementTy::IsCompound, "arrays can only contain scalar types");
155 ElementTy::emitOp(abbrev);
185 template <typename ElementTy, typename... Fields> class BCRecordCoding {
190 static_assert(!ElementTy::IsCompound,
192 ElementTy::assertValid(element);
202 element = ElementTy::convert(buffer.front());
222 template <typename ElementTy> class BCRecordCoding<ElementTy> {
227 static_assert(!ElementTy::IsCompound
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
DynamicExtent.cpp 46 QualType ElementTy) {
50 SVal ElementSize = getElementExtent(ElementTy, SVB);
RegionStore.cpp 402 SVal ArrayToPointer(Loc Array, QualType ElementTy) override;
1184 QualType ElementTy = AT->getElementType();
1185 uint64_t ElemSize = Ctx.getTypeSize(ElementTy);
2194 QualType ElementTy = AT->getElementType();
2228 const ElementRegion *ER = MRMgr.getElementRegion(ElementTy, Idx, R, Ctx);
2230 if (ElementTy->isStructureOrClassType())
2232 else if (ElementTy->isArrayType())
2242 NewB = setImplicitDefaultValue(NewB, R, ElementTy);
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
Constants.h 689 template <typename ElementTy>
690 static Constant *get(LLVMContext &Context, ArrayRef<ElementTy> Elts) {
692 return getRaw(StringRef(Data, Elts.size() * sizeof(ElementTy)), Elts.size(),
693 Type::getScalarTy<ElementTy>(Context));
697 /// ArrayRef<ElementTy>. Calls get(LLVMContext, ArrayRef<ElementTy>).
704 /// count and element type matching the NumElements and ElementTy parameters
706 /// ElementTy must be one of i8/i16/i32/i64/half/bfloat/float/double. Data is
710 Type *ElementTy) {
711 Type *Ty = ArrayType::get(ElementTy, NumElements)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
SROA.cpp 1437 Type *ElementTy = Ty;
1439 if (ElementTy->isPointerTy())
1442 if (ArrayType *ArrayTy = dyn_cast<ArrayType>(ElementTy)) {
1443 ElementTy = ArrayTy->getElementType();
1445 } else if (VectorType *VectorTy = dyn_cast<VectorType>(ElementTy)) {
1446 ElementTy = VectorTy->getElementType();
1448 } else if (StructType *STy = dyn_cast<StructType>(ElementTy)) {
1451 ElementTy = *STy->element_begin();
1457 } while (ElementTy != TargetTy);
1458 if (ElementTy != TargetTy
    [all...]
LowerMatrixIntrinsics.cpp 786 Align getAlignForIndex(unsigned Idx, Value *Stride, Type *ElementTy,
788 Align InitialAlign = DL.getValueOrABITypeAlignment(A, ElementTy);
792 TypeSize ElementSizeInBits = DL.getTypeSizeInBits(ElementTy);
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
ExprInspectionChecker.cpp 306 QualType ElementTy;
308 ElementTy = TVR->getValueType();
310 ElementTy =
314 assert(!ElementTy->isPointerType());
317 getDynamicElementCount(C.getState(), MR, C.getSValBuilder(), ElementTy);
  /src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
Store.h 153 virtual SVal ArrayToPointer(Loc Array, QualType ElementTy) = 0;
ProgramState.h 550 SVal ArrayToPointer(Loc Array, QualType ElementTy) {
551 return StoreMgr->ArrayToPointer(Array, ElementTy);
  /src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/
llvm_ocaml.c 569 LLVMTypeRef llvm_array_type(LLVMTypeRef ElementTy, value Count) {
570 return LLVMArrayType(ElementTy, Int_val(Count));
574 LLVMTypeRef llvm_pointer_type(LLVMTypeRef ElementTy) {
575 return LLVMPointerType(ElementTy, 0);
579 LLVMTypeRef llvm_qualified_pointer_type(LLVMTypeRef ElementTy,
581 return LLVMPointerType(ElementTy, Int_val(AddressSpace));
585 LLVMTypeRef llvm_vector_type(LLVMTypeRef ElementTy, value Count) {
586 return LLVMVectorType(ElementTy, Int_val(Count));
933 LLVMValueRef llvm_const_array(LLVMTypeRef ElementTy, value ElementVals) {
934 return LLVMConstArray(ElementTy, (LLVMValueRef *)Op_val(ElementVals)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
MicrosoftMangle.cpp 2861 QualType ElementTy(T, 0);
2864 if (ElementTy->isConstantArrayType()) {
2866 getASTContext().getAsConstantArrayType(ElementTy);
2868 ElementTy = CAT->getElementType();
2869 } else if (ElementTy->isIncompleteArrayType()) {
2871 getASTContext().getAsIncompleteArrayType(ElementTy);
2873 ElementTy = IAT->getElementType();
2874 } else if (ElementTy->isVariableArrayType()) {
2876 getASTContext().getAsVariableArrayType(ElementTy);
2878 ElementTy = VAT->getElementType()
    [all...]
ASTContext.cpp 4050 QualType ASTContext::getConstantMatrixType(QualType ElementTy, unsigned NumRows,
4053 ConstantMatrixType::Profile(ID, ElementTy, NumRows, NumColumns,
4056 assert(MatrixType::isValidElementType(ElementTy) &&
4066 if (!ElementTy.isCanonical()) {
4068 getConstantMatrixType(getCanonicalType(ElementTy), NumRows, NumColumns);
4076 ConstantMatrixType(ElementTy, NumRows, NumColumns, Canonical);
4082 QualType ASTContext::getDependentSizedMatrixType(QualType ElementTy,
4086 QualType CanonElementTy = getCanonicalType(ElementTy);
4110 if (Canon->getElementType() == ElementTy && Canon->getRowExpr() == RowExpr &&
4116 DependentSizedMatrixType(*this, ElementTy, QualType(Canon, 0), RowExpr
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGRecordLayoutBuilder.cpp 973 llvm::Type *ElementTy = ST->getTypeAtIndex(RL->getLLVMFieldNo(FD));
994 getDataLayout().getTypeAllocSizeInBits(ElementTy) ||
996 getDataLayout().getTypeAllocSizeInBits(ElementTy)) &&
CGExprCXX.cpp 982 const CXXNewExpr *E, QualType ElementType, llvm::Type *ElementTy,
1077 ElementTy = ConvertTypeForMem(AllocType);
1078 CurPtr = Builder.CreateElementBitCast(CurPtr, ElementTy);
1279 Builder.CreateConstInBoundsGEP1_32(ElementTy, CurPtr.getPointer(), 1,
1292 QualType ElementType, llvm::Type *ElementTy,
1297 CGF.EmitNewArrayInitializer(E, ElementType, ElementTy, NewPtr, NumElements,
1717 llvm::Type *elementTy = ConvertTypeForMem(allocType);
1718 Address result = Builder.CreateElementBitCast(allocation, elementTy);
1741 EmitNewInitializer(*this, E, allocType, elementTy, result, numElements,
CGExprConstant.cpp 2318 QualType ElementTy = CAT->getElementType();
2321 ConstantEmitter::emitNullForMemory(*this, ElementTy);
CGDebugInfo.cpp 2861 llvm::DIType *ElementTy = getOrCreateType(Ty->getElementType(), Unit);
2884 return DBuilder.createVectorType(Size, Align, ElementTy, SubscriptArray);
2892 llvm::DIType *ElementTy = getOrCreateType(Ty->getElementType(), Unit);
2911 return DBuilder.createArrayType(Size, Align, ElementTy, SubscriptArray);
CGOpenMPRuntime.cpp 685 QualType ElementTy;
689 llvm::Value *NumElements = CGF.emitArrayLength(ArrayTy, ElementTy, DestAddr);
713 CharUnits ElementSize = CGF.getContext().getTypeSizeInChars(ElementTy);
737 SrcElementCurrent, ElementTy);
739 CGF.EmitAnyExprToMem(Init, DestElementCurrent, ElementTy.getQualifiers(),
5329 QualType ElementTy;
5335 llvm::Value *NumElements = CGF.emitArrayLength(ArrayTy, ElementTy, LHSAddr);
5352 CharUnits ElementSize = CGF.getContext().getTypeSizeInChars(ElementTy);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
CallLowering.cpp 162 Type *ElementTy = cast<PointerType>(Arg.Ty)->getElementType();
165 Flags.setByValSize(DL.getTypeAllocSize(Ty ? Ty : ElementTy));
176 MemAlign = Align(getTLI()->getByValTypeAlignment(ElementTy, DL));
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
FastISel.cpp 1079 Type *ElementTy = Arg.IndirectType;
1080 assert(ElementTy && "Indirect type not set in ArgListEntry");
1082 unsigned FrameSize = DL.getTypeAllocSize(ElementTy);
1087 MemAlign = Align(TLI.getByValTypeAlignment(ElementTy, DL));
SelectionDAGBuilder.cpp 7083 Type *ElementTy = I.getOperand(0)->getType();
7094 DAG.getConstant(i, DL, EVT::getEVT(ElementTy)));
7099 auto VecTy = EVT::getEVT(FixedVectorType::get(ElementTy, VecWidth));
9555 Type *ElementTy = Args[i].IndirectType;
9556 assert(ElementTy && "Indirect type not set in ArgListEntry");
9558 unsigned FrameSize = DL.getTypeAllocSize(ElementTy);
9565 MemAlign = Align(getByValTypeAlignment(ElementTy, DL));
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
VectorUtils.cpp 965 Type *ElementTy = getLoadStoreType(&I);
978 uint64_t Size = DL.getTypeAllocSize(ElementTy);
  /src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/
Record.h 178 /// the specified type. The type is stored in ElementTy.
182 RecTy *ElementTy;
184 explicit ListRecTy(RecTy *T) : RecTy(ListRecTyKind), ElementTy(T) {}
192 RecTy *getElementType() const { return ElementTy; }
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Constants.cpp 1187 template <typename SequentialTy, typename ElementTy>
1191 SmallVector<ElementTy, 16> Elts;
1200 template <typename SequentialTy, typename ElementTy>
1204 SmallVector<ElementTy, 16> Elts;
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaType.cpp 2651 QualType Sema::BuildMatrixType(QualType ElementTy, Expr *NumRows, Expr *NumCols,
2657 if (!ElementTy->isDependentType() &&
2658 !MatrixType::isValidElementType(ElementTy)) {
2659 Diag(AttrLoc, diag::err_attribute_invalid_matrix_type) << ElementTy;
2665 return Context.getDependentSizedMatrixType(ElementTy, NumRows, NumCols,
2723 return Context.getConstantMatrixType(ElementTy, MatrixRows, MatrixColumns);
  /src/external/apache2/llvm/dist/llvm/lib/TableGen/
Record.cpp 122 return "list<" + ElementTy->getAsString() + ">";
127 return ElementTy->typeIsConvertibleTo(ListTy->getElementType());

Completed in 130 milliseconds

1 2