Searched refs:ElemTy (Results 1 - 25 of 42) sorted by relevance

12

/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DEquivalenceClasses.h57 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
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/IR/
H A DType.cpp548 bool StructType::isValidElementType(Type *ElemTy) { argument
549 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() &&
550 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy() &&
551 !ElemTy->isTokenTy();
610 bool ArrayType::isValidElementType(Type *ElemTy) { argument
611 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() &&
612 !ElemTy
635 isValidElementType(Type *ElemTy) argument
732 isValidElementType(Type *ElemTy) argument
739 isLoadableOrStorableType(Type *ElemTy) argument
[all...]
H A DDataLayout.cpp875 int64_t DataLayout::getIndexedOffsetInType(Type *ElemTy,
880 GTI = gep_type_begin(ElemTy, Indices),
881 GTE = gep_type_end(ElemTy, Indices);
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DProgram.cpp126 QualType ElemTy = PD->getType()->castAs<PointerType>()->getPointeeType(); local
127 QualType Ty = ASTCtx.getIncompleteArrayType(ElemTy, ArrayType::Normal, 0);
307 QualType ElemTy = ArrayType->getElementType(); local
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()); local
360 return allocateDescriptor(D, ElemTy, 2, IsConst, IsTemporary, IsMutable);
H A DEvalEmitter.cpp173 QualType ElemTy = AT->getElementType();
180 if (llvm::Optional<PrimType> T = Ctx.classify(ElemTy)) {
183 Ok &= Composite(ElemTy, EP.narrow(), Slot);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp245 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(); local
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(); local
327 return MVT::getVectorVT(ElemTy, Ty
342 MVT ElemTy = VecTy.getVectorElementType(); local
349 MVT ElemTy = VecTy.getVectorElementType(); local
355 opCastElem(SDValue Vec, MVT ElemTy, SelectionDAG &DAG) const argument
423 convertToByteIndex(SDValue ElemIdx, MVT ElemTy, SelectionDAG &DAG) const argument
439 getIndexInWord32(SDValue Idx, MVT ElemTy, SelectionDAG &DAG) const argument
461 MVT ElemTy = OpTy.getVectorElementType(); local
491 MVT ElemTy = VecTy.getVectorElementType(); local
[all...]
H A DHexagonSubtarget.cpp142 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(); local
188 while (ElemTy.getSizeInBits() * VecLen > 64) {
189 MVT SimpleTy = MVT::getVectorVT(ElemTy, VecLen);
H A DHexagonISelLowering.h397 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;
H A DHexagonISelLowering.cpp1040 MVT ElemTy = OpTy.getVectorElementType(); local
1041 assert(ElemTy.isScalarInteger());
1042 MVT WideTy = MVT::getVectorVT(MVT::getIntegerVT(2*ElemTy.getSizeInBits()),
1098 MVT ElemTy = OpTy.getVectorElementType(); local
1099 assert(ElemTy.isScalarInteger());
1100 MVT WideTy = MVT::getVectorVT(MVT::getIntegerVT(2*ElemTy.getSizeInBits()),
2105 MVT ElemTy = VT.getVectorElementType(); local
2117 if (ElemTy == MVT::i1)
2332 MVT ElemTy = VecTy.getVectorElementType(); local
2333 unsigned ElemWidth = ElemTy
2361 MVT ElemTy = VecTy.getVectorElementType(); local
2443 MVT ElemTy = VecTy.getVectorElementType(); local
[all...]
H A DHexagonTargetTransformInfo.cpp308 Type *ElemTy = Val->isVectorTy() ? cast<VectorType>(Val)->getElementType() local
313 if (ElemTy->isIntegerTy(32))
H A DHexagonISelDAGToDAGHVX.cpp822 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();
H A DHexagonVectorCombine.cpp443 Type *ElemTy = cast<PointerType>(Ptr->getType())->getElementType(); variable
444 int ElemSize = HVC.getSizeOf(ElemTy);
1226 Type *ElemTy = cast<VectorType>(Ty)->getElementType();
1227 if (ElemTy == Int32Ty)
1229 if (ElemTy == BoolTy)
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
H A DAPValue.cpp158 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(); local
664 getVectorElt(0).printPretty(Out, Policy, ElemTy, Ctx);
667 getVectorElt(i).printPretty(Out, Policy, ElemTy, Ctx);
744 QualType ElemTy = Base.getType(); local
761 if (ElemTy->isRecordType()) {
767 // Leave ElemTy referrin
157 LValuePathSerializationHelper( ArrayRef<LValuePathEntry> Path, QualType ElemTy) argument
796 QualType ElemTy = AT->getElementType(); local
[all...]
H A DRecordLayoutBuilder.cpp443 QualType ElemTy = Context.getBaseElementType(AT); local
444 const RecordType *RT = ElemTy->getAs<RecordType>();
547 QualType ElemTy = Context.getBaseElementType(AT); local
548 const RecordType *RT = ElemTy->getAs<RecordType>();
/netbsd-current/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp606 Type *ElemTy = STy->getElementType(i); local
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(); local
627 if (ElemTy->isIntegerTy())
630 APInt(ElemTy->getPrimitiveSizeInBits(), 0);
916 Type* ElemTy; local
923 ElemTy
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDerivedTypes.h314 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);
H A DDataLayout.h580 int64_t getIndexedOffsetInType(Type *ElemTy, ArrayRef<Value *> Indices) const;
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp728 QualType ElemTy = ArrayTy->getElementType(); local
729 Val = StateMgr.ArrayToPointer(V, ElemTy);
781 QualType ElemTy = ArrayTy->getElementType(); local
782 return StateMgr.ArrayToPointer(V, ElemTy);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp528 Type *ElemTy = GV->getValueType(); local
531 DL.getTypeStoreSize(ElemTy)) {
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp173 Type *ElemTy = nullptr; member in struct:__anon3020::VectorLayout
453 Layout.ElemTy = Layout.VecTy->getElementType();
454 if (!DL.typeSizeEqualsStoreSize(Layout.ElemTy))
457 Layout.ElemSize = DL.getTypeStoreSize(Layout.ElemTy);
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h787 #define OMP_ARRAY_TYPE(VarName, ElemTy, ArraySize) \
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaInit.cpp81 const QualType ElemTy = local
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...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExprConstant.cpp329 llvm::Type *ElemTy = local
331 CharUnits ElemSize = getSize(ElemTy);
634 llvm::Type *ElemTy = Emitter.CGM.getTypes().ConvertTypeForMem(ElemType); local
662 Const.condense(Offset, ElemTy);
H A DTargetInfo.cpp6553 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, 12
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DAPValue.h241 const void *ElemTy; member in class:clang::APValue::LValuePathSerializationHelper

Completed in 641 milliseconds

12