Home
last modified time | relevance | path

Searched refs:getElementType (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/external/tagsoup/src/org/ccil/cowan/tagsoup/
DSchema.java79 ElementType e = getElementType(elemName); in attribute()
95 ElementType child = getElementType(name); in parent()
96 ElementType parent = getElementType(parentName); in parent()
122 public ElementType getElementType(String name) { in getElementType() method in Schema
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DArrayProto.java77 @Nonnull public String getElementType() { return elementType; } in getElementType() method in ArrayProto
102 if (TypeUtils.isPrimitiveType(getElementType()) || in getCommonSuperclass()
103 TypeUtils.isPrimitiveType(((ArrayProto)other).getElementType())) { in getCommonSuperclass()
105 getElementType().equals(((ArrayProto)other).getElementType())) { in getCommonSuperclass()
/external/llvm/include/llvm/IR/
DDerivedTypes.h286 Type *getElementType(unsigned N) const { in getElementType() function
318 Type *getElementType() const { return ContainedTys[0]; } in getElementType() function
375 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getInteger()
386 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getExtendedElementVectorType()
396 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getTruncatedElementVectorType()
411 return VectorType::get(VTy->getElementType(), NumElts/2); in getHalfElementsVectorType()
420 return VectorType::get(VTy->getElementType(), NumElts*2); in getDoubleElementsVectorType()
433 return NumElements * getElementType()->getPrimitiveSizeInBits(); in getBitWidth()
/external/deqp/framework/randomshaders/
DrsgVariableValue.hpp97 …t (int compNdx) const { return ConstStridedValueAccess(getType().getElementType(), m_value + S… in component()
98 … (int elementNdx) const { return ConstStridedValueAccess(getType().getElementType(), m_value + S… in arrayElement()
130 …mponent (int compNdx) { return StridedValueAccess(this->getType().getElementType(), this->m_val… in component()
131 …lement (int elementNdx) { return StridedValueAccess(this->getType().getElementType(), this->m_val… in arrayElement()
225 return ConstValueRangeAccess(m_type->getElementType(), m_min + compNdx, m_max + compNdx); in component()
231 return ConstValueRangeAccess(m_type->getElementType(), m_min + offset, m_max + offset); in arrayElement()
256 return ValueRangeAccess(m_type->getElementType(), m_min + compNdx, m_max + compNdx); in component()
262 return ValueRangeAccess(m_type->getElementType(), m_min + offset, m_max + offset); in arrayElement()
/external/llvm/lib/IR/
DType.cpp48 return VTy->getElementType(); in getScalarType()
100 return NumElements == 0 || ATy->getElementType()->isEmptyTy(); in isEmptyTy()
106 if (!STy->getElementType(i)->isEmptyTy()) in isEmptyTy()
141 return VTy->getElementType()->getFPMantissaWidth(); in getFPMantissaWidth()
157 return ATy->getElementType()->isSized(Visited); in isSizedDerivedType()
160 return VTy->getElementType()->isSized(Visited); in isSizedDerivedType()
194 return cast<StructType>(this)->getElementType(N); in getStructElementType()
198 return cast<SequentialType>(this)->getElementType(); in getSequentialElementType()
631 return STy->getElementType(Idx); in getTypeAtIndex()
634 return cast<SequentialType>(this)->getElementType(); in getTypeAtIndex()
[all …]
DConstantFold.cpp58 Type *DstEltTy = DstTy->getElementType(); in BitCastConstantVector()
112 && PTy->getElementType()->isSized()) { in FoldBitCast()
117 Type *ElTy = PTy->getElementType(); in FoldBitCast()
118 while (ElTy != DPTy->getElementType()) { in FoldBitCast()
121 ElTy = STy->getElementType(0); in FoldBitCast()
126 ElTy = STy->getElementType(); in FoldBitCast()
133 if (ElTy == DPTy->getElementType()) in FoldBitCast()
135 return ConstantExpr::getInBoundsGetElementPtr(PTy->getElementType(), in FoldBitCast()
355 Constant *E = getFoldedSizeOf(ATy->getElementType(), DestTy, true); in getFoldedSizeOf()
367 getFoldedSizeOf(STy->getElementType(0), DestTy, true); in getFoldedSizeOf()
[all …]
DDataLayout.cpp49 Type *Ty = ST->getElementType(i); in StructLayout()
493 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType()); in getAlignmentInfo()
642 return getAlignment(cast<ArrayType>(Ty)->getElementType(), abi_or_pref); in getAlignment()
749 Ty = STy->getElementType(FieldNo); in getIndexedOffset()
752 Ty = cast<SequentialType>(Ty)->getElementType(); in getIndexedOffset()
767 Type *ElemType = GV->getType()->getElementType(); in getPreferredAlignment()
/external/clang/lib/AST/
DTypePrinter.cpp320 printBefore(T->getElementType(), OS); in printComplexBefore()
323 printAfter(T->getElementType(), OS); in printComplexAfter()
433 printBefore(T->getElementType(), OS); in printConstantArrayBefore()
447 printAfter(T->getElementType(), OS); in printConstantArrayAfter()
454 printBefore(T->getElementType(), OS); in printIncompleteArrayBefore()
459 printAfter(T->getElementType(), OS); in printIncompleteArrayAfter()
466 printBefore(T->getElementType(), OS); in printVariableArrayBefore()
485 printAfter(T->getElementType(), OS); in printVariableArrayAfter()
510 printBefore(T->getElementType(), OS); in printDependentSizedArrayBefore()
519 printAfter(T->getElementType(), OS); in printDependentSizedArrayAfter()
[all …]
DType.cpp60 getElementType().getBaseTypeIdentifier(); in getBaseTypeIdentifier()
72 return AT->getElementType().isConstant(Ctx); in isConstant()
194 return ATy->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
203 ->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
399 return CT->getElementType()->isFloatingType(); in isComplexType()
410 if (Complex->getElementType()->isIntegerType()) in getAsComplexIntegerType()
685 QualType elementType = recurse(T->getElementType()); in TRIVIAL_TYPE_CLASS()
689 if (elementType.getAsOpaquePtr() == T->getElementType().getAsOpaquePtr()) in TRIVIAL_TYPE_CLASS()
753 QualType elementType = recurse(T->getElementType()); in VisitConstantArrayType()
757 if (elementType.getAsOpaquePtr() == T->getElementType().getAsOpaquePtr()) in VisitConstantArrayType()
[all …]
DStmtIterator.cpp27 t = vt->getElementType().getTypePtr(); in FindVA()
37 p = FindVA(p->getElementType().getTypePtr()); in NextVA()
/external/llvm/lib/Transforms/Scalar/
DScalarizer.cpp191 Ty = PtrTy->getElementType(); in Scatterer()
211 PointerType::get(PtrTy->getElementType()->getVectorElementType(), in operator []()
358 Layout.ElemTy = Layout.VecTy->getElementType(); in getVectorLayout()
481 Res[I] = Builder.CreateCast(CI.getOpcode(), Op0[I], VT->getElementType(), in visitCastInst()
502 Res[I] = Builder.CreateBitCast(Op0[I], DstVT->getElementType(), in visitBitCastInst()
508 Type *MidTy = VectorType::get(DstVT->getElementType(), FanOut); in visitBitCastInst()
526 Type *MidTy = VectorType::get(SrcVT->getElementType(), FanIn); in visitBitCastInst()
534 Res[ResI] = Builder.CreateBitCast(V, DstVT->getElementType(), in visitBitCastInst()
556 Res[I] = UndefValue::get(VT->getElementType()); in visitShuffleVectorInst()
578 Res[I] = Builder.CreatePHI(VT->getElementType(), NumOps, in visitPHINode()
DScalarReplAggregates.cpp432 (!VectorTy || EltSize == VectorTy->getElementType() in MergeInTypeForLoadOrStore()
521 if (!isa<VectorType>(PtrTy->getElementType())) in CanConvertToScalar()
713 AIPTy = PointerType::get(AIPTy->getElementType(), in ConvertUsesToScalar()
730 AIPTy = PointerType::get(AIPTy->getElementType(), in ConvertUsesToScalar()
789 unsigned EltSize = DL.getTypeAllocSizeInBits(VTy->getElementType()); in ConvertScalar_ExtractValue()
818 Value *Elt = ConvertScalar_ExtractValue(FromVal, ST->getElementType(i), in ConvertScalar_ExtractValue()
829 uint64_t EltSize = DL.getTypeAllocSizeInBits(AT->getElementType()); in ConvertScalar_ExtractValue()
832 Value *Elt = ConvertScalar_ExtractValue(FromVal, AT->getElementType(), in ConvertScalar_ExtractValue()
923 Type *EltTy = VTy->getElementType(); in ConvertScalar_InsertValue()
958 uint64_t EltSize = DL.getTypeAllocSizeInBits(AT->getElementType()); in ConvertScalar_InsertValue()
[all …]
/external/clang/lib/CodeGen/
DCGExprComplex.cpp208 QualType Elem = E->getType()->castAs<ComplexType>()->getElementType(); in VisitCXXScalarValueInitExpr()
214 QualType Elem = E->getType()->castAs<ComplexType>()->getElementType(); in VisitImplicitValueInitExpr()
311 QualType eltType = complexType->castAs<ComplexType>()->getElementType(); in emitAddrOfImagComponent()
367 CGF.ConvertType(getComplexType(E->getType())->getElementType()); in VisitExpr()
400 SrcType = SrcType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast()
401 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast()
416 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitScalarToComplexCast()
577 Op.Ty->castAs<ComplexType>()->getElementType()); in EmitComplexBinOpLibCall()
579 Op.Ty->castAs<ComplexType>()->getElementType()); in EmitComplexBinOpLibCall()
581 Op.Ty->castAs<ComplexType>()->getElementType()); in EmitComplexBinOpLibCall()
[all …]
DCGBuilder.h193 return Address(CreateStructGEP(Addr.getElementType(),
227 return Address(CreateInBoundsGEP(Addr.getElementType(), Addr.getPointer(),
241 return Address(CreateGEP(Addr.getElementType(), Addr.getPointer(),
249 assert(Addr.getElementType() == TypeCache.Int8Ty);
255 assert(Addr.getElementType() == TypeCache.Int8Ty);
DAddress.h52 llvm::Type *getElementType() const { in getElementType() function
53 return getType()->getElementType(); in getElementType()
DCodeGenTypes.cpp166 return isSafeToConvert(AT->getElementType(), CGT, AlreadyChecked); in isSafeToConvert()
489 llvm::Type *EltTy = ConvertType(cast<ComplexType>(Ty)->getElementType()); in ConvertType()
519 ResultType = ConvertTypeForMem(A->getElementType()); in ConvertType()
528 ResultType = ConvertTypeForMem(A->getElementType()); in ConvertType()
538 llvm::Type *EltTy = ConvertTypeForMem(A->getElementType()); in ConvertType()
553 ResultType = llvm::VectorType::get(ConvertType(VT->getElementType()), in ConvertType()
/external/llvm/lib/Analysis/
DLoads.cpp92 BaseType = GV->getType()->getElementType(); in isSafeToLoadUnconditionally()
98 uint64_t LoadSize = DL.getTypeStoreSize(AddrTy->getElementType()); in isSafeToLoadUnconditionally()
203 Type *AccessTy = cast<PointerType>(Ptr->getType())->getElementType(); in FindAvailableLoadedValue()
DObjCARCInstKind.cpp100 Type *ETy = PTy->getElementType(); in GetFunctionClass()
125 if (Pte->getElementType()->isIntegerTy(8)) in GetFunctionClass()
137 if (PointerType *Pte = dyn_cast<PointerType>(PTy->getElementType())) in GetFunctionClass()
138 if (Pte->getElementType()->isIntegerTy(8)) in GetFunctionClass()
140 Type *ETy1 = PTy1->getElementType(); in GetFunctionClass()
150 if (Pte1->getElementType()->isIntegerTy(8)) in GetFunctionClass()
/external/mesa3d/src/gallium/drivers/radeon/
DR600KernelParameters.cpp202 T = dyn_cast<PointerType>(T)->getElementType(); in CalculateArgumentSize()
262 Op->getType())->getElementType(), Addrspace), in Propagate()
283 Type* NewPtrType = PointerType::get(OrigPtrType->getElementType(), in Propagate()
342 PointerType::get(ArgPtrType->getElementType(), in ConstantRead()
409 ST = dyn_cast<StructType>(PT->getElementType()); in getSpecialTypeName()
/external/clang/tools/libclang/
DCXType.cpp613 ET = cast<ConstantArrayType> (TP)->getElementType(); in clang_getElementType()
616 ET = cast<IncompleteArrayType> (TP)->getElementType(); in clang_getElementType()
619 ET = cast<VariableArrayType> (TP)->getElementType(); in clang_getElementType()
622 ET = cast<DependentSizedArrayType> (TP)->getElementType(); in clang_getElementType()
625 ET = cast<VectorType> (TP)->getElementType(); in clang_getElementType()
628 ET = cast<ComplexType> (TP)->getElementType(); in clang_getElementType()
665 ET = cast<ConstantArrayType> (TP)->getElementType(); in clang_getArrayElementType()
668 ET = cast<IncompleteArrayType> (TP)->getElementType(); in clang_getArrayElementType()
671 ET = cast<VariableArrayType> (TP)->getElementType(); in clang_getArrayElementType()
674 ET = cast<DependentSizedArrayType> (TP)->getElementType(); in clang_getArrayElementType()
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/reflect/
DField.java101 public Class getElementType (int index) { in getElementType() method in Field
102 Type elementType = field.getElementType(index); in getElementType()
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinitionUtil.cpp189 if (type.getElementType().isBasicType() && in generateVariableTypeResourceNames()
195 else if (type.getElementType().isBasicType() || in generateVariableTypeResourceNames()
198 generateVariableTypeResourceNames(resources, name + "[0]", type.getElementType(), childFlags); in generateVariableTypeResourceNames()
204 …eResourceNames(resources, name + "[" + de::toString(ndx) + "]", type.getElementType(), childFlags); in generateVariableTypeResourceNames()
293 return collectNamedStructureDefinitions(dst, type.getElementType()); in collectNamedStructureDefinitions()
442 varType.getElementType()); in writeVariableReadAccumulateExpression()
453 varType.getElementType()); in writeVariableReadAccumulateExpression()
468 varType.getElementType()); in writeVariableReadAccumulateExpression()
479 varType.getElementType()); in writeVariableReadAccumulateExpression()
493 varType.getElementType()); in writeVariableReadAccumulateExpression()
[all …]
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp106 Type *ElTy = GV->getType()->getElementType(); in Create()
618 Type *ElemTy = STy->getElementType(i); in getConstantValue()
633 Type *ElemTy = VTy->getElementType(); in getConstantValue()
926 ElemTy = CDV->getElementType(); in getConstantValue()
930 ElemTy = VTy->getElementType(); in getConstantValue()
1003 CDV->getElementType()->getPrimitiveSizeInBits(), in getConstantValue()
1077 if (cast<VectorType>(Ty)->getElementType()->isDoubleTy()) in StoreValueToMemory()
1079 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) in StoreValueToMemory()
1081 if (cast<VectorType>(Ty)->getElementType()->isIntegerTy()) { in StoreValueToMemory()
1154 Type *ElemT = VT->getElementType(); in LoadValueFromMemory()
[all …]
/external/llvm/lib/Linker/
DIRMover.cpp200 Elements[I] = get(SrcSTy->getElementType(I)); in linkDefinedTypeBodies()
705 new GlobalVariable(DstM, TypeMap.get(SGVar->getType()->getElementType()), in copyGlobalVariableProto()
745 DstM, TypeMap.get(SGV->getType()->getElementType()), in copyGlobalValueProto()
778 ArrayType *DAT = cast<ArrayType>(DGV->getType()->getElementType()); in computeTypeMapping()
779 ArrayType *SAT = cast<ArrayType>(SGV.getType()->getElementType()); in computeTypeMapping()
780 TypeMap.addTypeMapping(DAT->getElementType(), SAT->getElementType()); in computeTypeMapping()
850 Type *EltTy = cast<ArrayType>(TypeMap.get(SrcGV->getType()->getElementType())) in linkAppendingVarProto()
851 ->getElementType(); in linkAppendingVarProto()
866 Type *Tys[3] = {ST.getElementType(0), ST.getElementType(1), VoidPtrTy}; in linkAppendingVarProto()
871 ArrayType *DstTy = cast<ArrayType>(DstGV->getType()->getElementType()); in linkAppendingVarProto()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp89 M, GV->getType()->getElementType(), GV->isConstant(), in runOnModule()
175 EVT ExtendedGVType = EVT::getEVT(GVType->getElementType(), true); in getOrInsertCVTA()
194 PointerType::get(GVType->getElementType(), llvm::ADDRESS_SPACE_GENERIC); in getOrInsertCVTA()
199 ParamTypes.push_back(PointerType::get(GVType->getElementType(), in getOrInsertCVTA()

12345678910>>...12