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

1 2

  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
EquivalenceClasses.h 57 template <class ElemTy>
73 ElemTy Data;
77 ECValue(const ElemTy &Elt)
107 const ElemTy &getData() const { return Data; }
117 /// TheMapping - This implicitly provides a mapping from ElemTy values to the
163 iterator findValue(const ElemTy &V) const {
170 const ElemTy &getLeaderValue(const ElemTy &V) const {
179 const ElemTy &getOrInsertLeaderValue(const ElemTy &V)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Type.cpp 548 bool StructType::isValidElementType(Type *ElemTy) {
549 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() &&
550 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy() &&
551 !ElemTy->isTokenTy();
610 bool ArrayType::isValidElementType(Type *ElemTy) {
611 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() &&
612 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy() &
    [all...]
DataLayout.cpp 875 int64_t DataLayout::getIndexedOffsetInType(Type *ElemTy,
880 GTI = gep_type_begin(ElemTy, Indices),
881 GTE = gep_type_end(ElemTy, Indices);
  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
Program.cpp 126 QualType ElemTy = PD->getType()->castAs<PointerType>()->getPointeeType();
127 QualType Ty = ASTCtx.getIncompleteArrayType(ElemTy, ArrayType::Normal, 0);
307 QualType ElemTy = ArrayType->getElementType();
311 if (llvm::Optional<PrimType> T = Ctx.classify(ElemTy)) {
323 createDescriptor(D, ElemTy.getTypePtr(), IsConst, IsTemporary);
337 if (llvm::Optional<PrimType> T = Ctx.classify(ElemTy)) {
342 createDescriptor(D, ElemTy.getTypePtr(), IsConst, IsTemporary);
359 PrimType ElemTy = *Ctx.classify(CT->getElementType());
360 return allocateDescriptor(D, ElemTy, 2, IsConst, IsTemporary, IsMutable);
EvalEmitter.cpp 173 QualType ElemTy = AT->getElementType();
180 if (llvm::Optional<PrimType> T = Ctx.classify(ElemTy)) {
183 Ok &= Composite(ElemTy, EP.narrow(), Slot);
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonISelLoweringHVX.cpp 245 for (MVT ElemTy : Subtarget.getHVXElementTypes()) {
246 if (ElemTy == MVT::i1)
248 int ElemWidth = ElemTy.getFixedSizeInBits();
251 MVT VecTy = MVT::getVectorVT(ElemTy, N);
275 MVT ElemTy = VecTy.getVectorElementType();
280 if (ElemTy == MVT::i1 && VecLen > HwLen)
286 if (ElemTy == MVT::i1) {
299 if (llvm::is_contained(Tys, ElemTy)) {
326 MVT ElemTy = Tys.first.getVectorElementType();
327 return MVT::getVectorVT(ElemTy, Tys.first.getVectorNumElements()
    [all...]
HexagonSubtarget.cpp 142 MVT ElemTy = VecTy.getVectorElementType();
143 if (!IncludeBool && ElemTy == MVT::i1)
150 if (IncludeBool && ElemTy == MVT::i1) {
162 return llvm::is_contained(ElemTypes, ElemTy);
186 MVT ElemTy = Ty.getVectorElementType().getSimpleVT();
188 while (ElemTy.getSizeInBits() * VecLen > 64) {
189 MVT SimpleTy = MVT::getVectorVT(ElemTy, VecLen);
HexagonISelLowering.h 397 MVT tyVector(MVT Ty, MVT ElemTy) const {
398 if (Ty.isVector() && Ty.getVectorElementType() == ElemTy)
401 unsigned ElemWidth = ElemTy.getSizeInBits();
403 return MVT::getVectorVT(ElemTy, TyWidth/ElemWidth);
414 SDValue opCastElem(SDValue Vec, MVT ElemTy, SelectionDAG &DAG) const;
425 SDValue convertToByteIndex(SDValue ElemIdx, MVT ElemTy,
427 SDValue getIndexInWord32(SDValue Idx, MVT ElemTy, SelectionDAG &DAG) const;
HexagonISelLowering.cpp 1040 MVT ElemTy = OpTy.getVectorElementType();
1041 assert(ElemTy.isScalarInteger());
1042 MVT WideTy = MVT::getVectorVT(MVT::getIntegerVT(2*ElemTy.getSizeInBits()),
1098 MVT ElemTy = OpTy.getVectorElementType();
1099 assert(ElemTy.isScalarInteger());
1100 MVT WideTy = MVT::getVectorVT(MVT::getIntegerVT(2*ElemTy.getSizeInBits()),
2105 MVT ElemTy = VT.getVectorElementType();
2117 if (ElemTy == MVT::i1)
2332 MVT ElemTy = VecTy.getVectorElementType();
2333 unsigned ElemWidth = ElemTy.getSizeInBits()
    [all...]
HexagonTargetTransformInfo.cpp 308 Type *ElemTy = Val->isVectorTy() ? cast<VectorType>(Val)->getElementType()
313 if (ElemTy->isIntegerTy(32))
HexagonISelDAGToDAGHVX.cpp 822 MVT getSingleVT(MVT ElemTy) const {
823 unsigned NumElems = HwLen / (ElemTy.getSizeInBits()/8);
824 return MVT::getVectorVT(ElemTy, NumElems);
827 MVT getPairVT(MVT ElemTy) const {
828 unsigned NumElems = (2*HwLen) / (ElemTy.getSizeInBits()/8);
829 return MVT::getVectorVT(ElemTy, NumElems);
1421 MVT ElemTy = ResTy.getVectorElementType();
1422 assert(ElemTy == MVT::i8);
1442 MVT LegalTy = Lower.getTypeToTransformTo(Ctx, ElemTy).getSimpleVT();
HexagonVectorCombine.cpp 443 Type *ElemTy = cast<PointerType>(Ptr->getType())->getElementType();
444 int ElemSize = HVC.getSizeOf(ElemTy);
1226 Type *ElemTy = cast<VectorType>(Ty)->getElementType();
1227 if (ElemTy == Int32Ty)
1229 if (ElemTy == BoolTy)
  /src/external/apache2/llvm/dist/clang/lib/AST/
APValue.cpp 158 ArrayRef<LValuePathEntry> Path, QualType ElemTy)
159 : ElemTy((const void *)ElemTy.getTypePtrOrNull()), Path(Path) {}
162 return QualType::getFromOpaquePtr(ElemTy);
663 QualType ElemTy = Ty->castAs<VectorType>()->getElementType();
664 getVectorElt(0).printPretty(Out, Policy, ElemTy, Ctx);
667 getVectorElt(i).printPretty(Out, Policy, ElemTy, Ctx);
744 QualType ElemTy = Base.getType();
761 if (ElemTy->isRecordType()) {
767 // Leave ElemTy referring to the most-derived class. The actual typ
    [all...]
RecordLayoutBuilder.cpp 443 QualType ElemTy = Context.getBaseElementType(AT);
444 const RecordType *RT = ElemTy->getAs<RecordType>();
547 QualType ElemTy = Context.getBaseElementType(AT);
548 const RecordType *RT = ElemTy->getAs<RecordType>();
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/
ExecutionEngine.cpp 606 Type *ElemTy = STy->getElementType(i);
607 if (ElemTy->isIntegerTy())
609 APInt(ElemTy->getPrimitiveSizeInBits(), 0);
610 else if (ElemTy->isAggregateType()) {
611 const Constant *ElemUndef = UndefValue::get(ElemTy);
624 Type *ElemTy = VTy->getElementType();
627 if (ElemTy->isIntegerTy())
630 APInt(ElemTy->getPrimitiveSizeInBits(), 0);
916 Type* ElemTy;
923 ElemTy = CDV->getElementType()
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
DerivedTypes.h 314 static bool isValidElementType(Type *ElemTy);
378 static bool isValidElementType(Type *ElemTy);
513 static bool isValidElementType(Type *ElemTy);
671 static bool isValidElementType(Type *ElemTy);
674 static bool isLoadableOrStorableType(Type *ElemTy);
DataLayout.h 580 int64_t getIndexedOffsetInType(Type *ElemTy, ArrayRef<Value *> Indices) const;
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
SValBuilder.cpp 728 QualType ElemTy = ArrayTy->getElementType();
729 Val = StateMgr.ArrayToPointer(V, ElemTy);
732 // QualType elemTy = cast<ArrayType>(originalTy)->getElementType();
733 // QualType pointerTy = C.getPointerType(elemTy);
781 QualType ElemTy = ArrayTy->getElementType();
782 return StateMgr.ArrayToPointer(V, ElemTy);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
Evaluator.cpp 528 Type *ElemTy = GV->getValueType();
531 DL.getTypeStoreSize(ElemTy)) {
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
Scalarizer.cpp 173 Type *ElemTy = nullptr;
453 Layout.ElemTy = Layout.VecTy->getElementType();
454 if (!DL.typeSizeEqualsStoreSize(Layout.ElemTy))
457 Layout.ElemSize = DL.getTypeStoreSize(Layout.ElemTy);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Frontend/OpenMP/
OMPIRBuilder.h 787 #define OMP_ARRAY_TYPE(VarName, ElemTy, ArraySize) \
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaInit.cpp 81 const QualType ElemTy =
87 if (ElemTy->isChar8Type())
93 if (ElemTy->isCharType())
98 if (ElemTy->isChar8Type())
100 if (IsWideCharCompatible(ElemTy, Context))
109 if (Context.typesAreCompatible(Context.Char16Ty, ElemTy))
111 if (ElemTy->isCharType() || ElemTy->isChar8Type())
113 if (IsWideCharCompatible(ElemTy, Context))
117 if (Context.typesAreCompatible(Context.Char32Ty, ElemTy))
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGExprConstant.cpp 329 llvm::Type *ElemTy =
331 CharUnits ElemSize = getSize(ElemTy);
634 llvm::Type *ElemTy = Emitter.CGM.getTypes().ConvertTypeForMem(ElemType);
662 Const.condense(Offset, ElemTy);
TargetInfo.cpp 6553 llvm::Type* ElemTy;
6558 ElemTy = llvm::Type::getInt32Ty(getVMContext());
6561 ElemTy = llvm::Type::getInt64Ty(getVMContext());
6565 return ABIArgInfo::getDirect(llvm::ArrayType::get(ElemTy, SizeRegs));
9424 llvm::Type *ElemTy = StrTy->getElementType(i);
9426 switch (ElemTy->getTypeID()) {
9428 addStruct(ElemOffset, cast<llvm::StructType>(ElemTy));
9431 addFloat(ElemOffset, ElemTy, 32);
9434 addFloat(ElemOffset, ElemTy, 64);
9437 addFloat(ElemOffset, ElemTy, 128)
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
APValue.h 241 const void *ElemTy;

Completed in 48 milliseconds

1 2