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

12

/external/llvm/include/llvm/ADT/
H A DEquivalenceClasses.h57 template <class ElemTy>
72 ElemTy Data;
75 ECValue(const ElemTy &Elt)
103 const ElemTy &getData() const { return Data; }
113 /// TheMapping - This implicitly provides a mapping from ElemTy values to the
159 iterator findValue(const ElemTy &V) const {
166 const ElemTy &getLeaderValue(const ElemTy &V) const {
175 const ElemTy &getOrInsertLeaderValue(const ElemTy
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
H A DEquivalenceClasses.h54 template <class ElemTy>
69 ElemTy Data;
72 ECValue(const ElemTy &Elt)
100 const ElemTy &getData() const { return Data; }
110 /// TheMapping - This implicitly provides a mapping from ElemTy values to the
156 iterator findValue(const ElemTy &V) const {
163 const ElemTy &getLeaderValue(const ElemTy &V) const {
172 const ElemTy &getOrInsertLeaderValue(const ElemTy
[all...]
/external/llvm/lib/IR/
H A DType.cpp530 bool StructType::isValidElementType(Type *ElemTy) { argument
531 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() &&
532 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy() &&
533 !ElemTy->isTokenTy();
620 bool ArrayType::isValidElementType(Type *ElemTy) { argument
621 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() &&
622 !ElemTy
650 isValidElementType(Type *ElemTy) argument
689 isValidElementType(Type *ElemTy) argument
694 isLoadableOrStorableType(Type *ElemTy) argument
[all...]
H A DDataLayout.cpp726 int64_t DataLayout::getIndexedOffsetInType(Type *ElemTy,
734 GTI = gep_type_begin(ElemTy, AS, Indices),
735 GTE = gep_type_end(ElemTy, AS, Indices);
/external/clang/lib/AST/
H A DAPValue.cpp360 QualType ElemTy = Ty->getAs<VectorType>()->getElementType(); local
361 getVectorElt(0).printPretty(Out, Ctx, ElemTy);
364 getVectorElt(i).printPretty(Out, Ctx, ElemTy);
427 QualType ElemTy; local
430 ElemTy = VD->getType();
435 ElemTy = E->getType();
441 if (ElemTy->getAs<RecordType>()) {
448 ElemTy = Ctx.getRecordType(RD);
455 ElemTy = VD->getType();
460 ElemTy
476 QualType ElemTy = AT->getElementType(); local
[all...]
H A DRecordLayoutBuilder.cpp442 QualType ElemTy = Context.getBaseElementType(AT); local
443 const RecordType *RT = ElemTy->getAs<RecordType>();
539 QualType ElemTy = Context.getBaseElementType(AT); local
540 const RecordType *RT = ElemTy->getAs<RecordType>();
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DType.cpp543 bool StructType::isValidElementType(Type *ElemTy) { argument
544 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() &&
545 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy();
637 bool ArrayType::isValidElementType(Type *ElemTy) { argument
638 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() &&
639 !ElemTy->isMetadataTy() && !ElemTy
666 isValidElementType(Type *ElemTy) argument
699 isValidElementType(Type *ElemTy) argument
[all...]
/external/llvm/include/llvm/IR/
H A DDerivedTypes.h270 static bool isValidElementType(Type *ElemTy);
350 static bool isValidElementType(Type *ElemTy);
421 static bool isValidElementType(Type *ElemTy);
460 static bool isValidElementType(Type *ElemTy);
463 static bool isLoadableOrStorableType(Type *ElemTy);
H A DDataLayout.h443 int64_t getIndexedOffsetInType(Type *ElemTy, ArrayRef<Value *> Indices) const;
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
H A DDerivedTypes.h275 static bool isValidElementType(Type *ElemTy);
356 static bool isValidElementType(Type *ElemTy);
424 static bool isValidElementType(Type *ElemTy);
465 static bool isValidElementType(Type *ElemTy);
468 static bool isLoadableOrStorableType(Type *ElemTy);
/external/llvm/lib/Target/AMDGPU/
H A DSITypeRewriter.cpp77 Type *ElemTy = PtrTy->getPointerElementType(); local
79 if (ElemTy == v16i8) {
/external/swiftshader/third_party/LLVM/include/llvm/
H A DDerivedTypes.h271 static bool isValidElementType(Type *ElemTy);
346 static bool isValidElementType(Type *ElemTy);
405 static bool isValidElementType(Type *ElemTy);
442 static bool isValidElementType(Type *ElemTy);
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp613 Type *ElemTy = STy->getElementType(i); local
614 if (ElemTy->isIntegerTy())
616 APInt(ElemTy->getPrimitiveSizeInBits(), 0);
617 else if (ElemTy->isAggregateType()) {
618 const Constant *ElemUndef = UndefValue::get(ElemTy);
628 Type *ElemTy = VTy->getElementType(); local
631 if (ElemTy->isIntegerTy())
634 APInt(ElemTy->getPrimitiveSizeInBits(), 0);
914 Type* ElemTy; local
921 ElemTy
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp104 VectorLayout() : VecTy(nullptr), ElemTy(nullptr), VecAlign(0), ElemSize(0) {}
115 Type *ElemTy; member in struct:__anon13538::VectorLayout
361 Layout.ElemTy = Layout.VecTy->getElementType();
362 if (DL.getTypeSizeInBits(Layout.ElemTy) !=
363 DL.getTypeStoreSizeInBits(Layout.ElemTy))
370 Layout.ElemSize = DL.getTypeStoreSize(Layout.ElemTy);
/external/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp403 Type *ElemTy = GV->getValueType(); local
406 DL.getTypeStoreSize(ElemTy)) {
/external/clang/lib/CodeGen/
H A DCGExprConstant.cpp783 llvm::Type *ElemTy = AType->getElementType(); local
797 fillC = llvm::Constant::getNullValue(ElemTy);
815 RewriteType |= (C->getType() != ElemTy);
819 RewriteType |= (fillC->getType() != ElemTy);
H A DTargetInfo.cpp5334 llvm::Type* ElemTy;
5339 ElemTy = llvm::Type::getInt32Ty(getVMContext());
5342 ElemTy = llvm::Type::getInt64Ty(getVMContext());
5346 return ABIArgInfo::getDirect(llvm::ArrayType::get(ElemTy, SizeRegs));
7060 llvm::Type *ElemTy = StrTy->getElementType(i);
7062 switch (ElemTy->getTypeID()) {
7064 addStruct(ElemOffset, cast<llvm::StructType>(ElemTy));
7067 addFloat(ElemOffset, ElemTy, 32);
7070 addFloat(ElemOffset, ElemTy, 64);
7073 addFloat(ElemOffset, ElemTy, 12
[all...]
H A DCodeGenModule.cpp3395 llvm::Type *ElemTy = AType->getElementType(); local
3399 if (ElemTy->getPrimitiveSizeInBits() == 16) {
3409 assert(ElemTy->getPrimitiveSizeInBits() == 32);
/external/clang/lib/Sema/
H A DSemaInit.cpp77 const QualType ElemTy = local
85 if (ElemTy->isCharType())
87 if (IsWideCharCompatible(ElemTy, Context))
96 if (Context.typesAreCompatible(Context.Char16Ty, ElemTy))
98 if (ElemTy->isCharType())
100 if (IsWideCharCompatible(ElemTy, Context))
104 if (Context.typesAreCompatible(Context.Char32Ty, ElemTy))
106 if (ElemTy->isCharType())
108 if (IsWideCharCompatible(ElemTy, Context))
112 if (Context.typesAreCompatible(Context.getWideCharType(), ElemTy))
[all...]
/external/llvm/lib/Analysis/
H A DConstantFolding.cpp726 Constant* StripPtrCastKeepAS(Constant* Ptr, Type *&ElemTy) { argument
732 ElemTy = NewPtrTy->getPointerElementType();
736 NewPtrTy = ElemTy->getPointerTo(OldPtrTy->getAddressSpace());
/external/spirv-llvm/lib/SPIRV/
H A DSPIRVWriter.cpp557 auto *ElemTy = ST->getElementType(I); local
558 if (isa<CompositeType>(ElemTy) && recursiveType(ST, ElemTy))
/external/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp98 MVT ElemTy = VT.getVectorElementType(); local
99 if (ElemTy != MVT::i64 && ElemTy != MVT::f64)
103 if (ElemTy == MVT::i32) {
4615 EVT ElemTy = VT.getVectorElementType(); local
4617 if (ElemTy == MVT::i8) {
4620 DAG.getTargetConstant(1, dl, ElemTy));
4625 if ((ElemTy == MVT::i16 || ElemTy == MVT::i32) &&
4628 unsigned NumBits = ElemTy
[all...]
/external/llvm/lib/Transforms/Vectorize/
H A DBBVectorize.cpp471 static inline VectorType *getVecTypeForPair(Type *ElemTy, Type *Elem2Ty) { argument
472 assert(ElemTy->getScalarType() == Elem2Ty->getScalarType() &&
474 Type *STy = ElemTy->getScalarType();
477 if (VectorType *VTy = dyn_cast<VectorType>(ElemTy)) {
/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1834 Type *ElemTy = GV->getValueType(); local
1836 AllocaInst *Alloca = new AllocaInst(ElemTy, nullptr,
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
H A DGlobalOpt.cpp1760 Type* ElemTy = GV->getType()->getElementType(); local
1762 AllocaInst* Alloca = new AllocaInst(ElemTy, NULL, GV->getName(), &FirstI);

Completed in 1271 milliseconds

12