Home
last modified time | relevance | path

Searched refs:CompositeType (Results 1 – 14 of 14) sorted by relevance

/external/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h58 CompositeType *CT = cast<CompositeType>(CurTy); in getIndexedType()
69 if (CompositeType *CT = dyn_cast<CompositeType>(CurTy)) {
DDerivedTypes.h147 class CompositeType : public Type {
149 explicit CompositeType(LLVMContext &C, TypeID tid) : Type(C, tid) { } in CompositeType() function
190 class StructType : public CompositeType {
194 : CompositeType(C, StructTyID), SymbolTableEntry(nullptr) {} in StructType()
309 class SequentialType : public CompositeType {
316 : CompositeType(ElType->getContext(), TID), ContainedType(ElType) { in SequentialType()
/external/llvm/lib/CodeGen/
DAnalysis.cpp373 static bool indexReallyValid(CompositeType *T, unsigned Idx) { in indexReallyValid()
397 static bool advanceToNextLeafType(SmallVectorImpl<CompositeType *> &SubTypes, in advanceToNextLeafType()
415 CompositeType *CT = cast<CompositeType>(DeeperType); in advanceToNextLeafType()
439 SmallVectorImpl<CompositeType *> &SubTypes, in firstRealType()
445 indexReallyValid(cast<CompositeType>(Next), 0)) { in firstRealType()
446 SubTypes.push_back(cast<CompositeType>(Next)); in firstRealType()
448 Next = cast<CompositeType>(Next)->getTypeAtIndex(0U); in firstRealType()
468 static bool nextRealType(SmallVectorImpl<CompositeType *> &SubTypes, in nextRealType()
573 SmallVector<CompositeType *, 4> RetSubTypes, CallSubTypes; in returnTypeIsEligibleForTailCall()
/external/llvm/lib/IR/
DType.cpp629 Type *CompositeType::getTypeAtIndex(const Value *V) { in getTypeAtIndex()
639 Type *CompositeType::getTypeAtIndex(unsigned Idx) { in getTypeAtIndex()
647 bool CompositeType::indexValid(const Value *V) const { in indexValid()
664 bool CompositeType::indexValid(unsigned Idx) const { in indexValid()
DInstructions.cpp1283 CompositeType *CT = dyn_cast<CompositeType>(Agg); in getIndexedTypeInternal()
1630 Agg = cast<CompositeType>(Agg)->getTypeAtIndex(Index); in getIndexedType()
DConstantFold.cpp2165 Prev = Ty, Ty = cast<CompositeType>(Ty)->getTypeAtIndex(Idxs[i]), ++i) { in ConstantFoldGetElementPtrImpl()
/external/llvm/bindings/go/llvm/
DDIBuilderBindings.cpp79 LLVMMetadataRef CompositeType, int IsLocalToUnit, int IsDefinition, in LLVMDIBuilderCreateFunction() argument
85 unwrap<MDSubroutineType>(CompositeType), IsLocalToUnit, IsDefinition, in LLVMDIBuilderCreateFunction()
DDIBuilderBindings.h57 LLVMMetadataRef CompositeType, int IsLocalToUnit, int IsDefinition,
/external/llvm/lib/Transforms/IPO/
DStripSymbols.cpp153 if (isa<CompositeType>(C->getType())) in RemoveDeadConstant()
DArgumentPromotion.cpp138 if (!isa<CompositeType>(type)) in isDenselyPacked()
803 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(*II); in DoPromotion()
DGlobalOpt.cpp139 if (isa<CompositeType>(InnerTy)) in isLeakCheckerRoot()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1777 isa<CompositeType>(SrcElTy) && !SrcElTy->isPointerTy() && in visitBitCast()
1779 SrcElTy = cast<CompositeType>(SrcElTy)->getTypeAtIndex(ZeroUInt); in visitBitCast()
DInstructionCombining.cpp1387 if (CompositeType *CT = dyn_cast<CompositeType>(CurTy)) { in visitGetElementPtrInst()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp2100 GepTy = cast<CompositeType>(GepTy)->getTypeAtIndex(0U); in RewriteGEP()