Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DAnalysis.cpp357 static bool indexReallyValid(CompositeType *T, unsigned Idx) { in indexReallyValid()
381 static bool advanceToNextLeafType(SmallVectorImpl<CompositeType *> &SubTypes, in advanceToNextLeafType()
399 CompositeType *CT = cast<CompositeType>(DeeperType); in advanceToNextLeafType()
423 SmallVectorImpl<CompositeType *> &SubTypes, in firstRealType()
429 indexReallyValid(cast<CompositeType>(Next), 0)) { in firstRealType()
430 SubTypes.push_back(cast<CompositeType>(Next)); in firstRealType()
432 Next = cast<CompositeType>(Next)->getTypeAtIndex(0U); in firstRealType()
452 static bool nextRealType(SmallVectorImpl<CompositeType *> &SubTypes, in nextRealType()
607 SmallVector<CompositeType *, 4> RetSubTypes, CallSubTypes; in returnTypeIsEligibleForTailCall()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDerivedTypes.h162 class CompositeType : public Type {
164 explicit CompositeType(LLVMContext &C, TypeID tid) : Type(C, tid) {} in CompositeType() function
201 class StructType : public CompositeType {
202 StructType(LLVMContext &C) : CompositeType(C, StructTyID) {} in StructType()
343 class SequentialType : public CompositeType {
349 : CompositeType(ElType->getContext(), TID), ContainedType(ElType), in SequentialType()
H A DConstants.h392 ConstantAggregate(CompositeType *T, ValueTy VT, ArrayRef<Constant *> V);
/freebsd-12.1/contrib/llvm/lib/IR/
H A DType.cpp530 Type *CompositeType::getTypeAtIndex(const Value *V) const { in getTypeAtIndex()
541 Type *CompositeType::getTypeAtIndex(unsigned Idx) const{ in getTypeAtIndex()
550 bool CompositeType::indexValid(const Value *V) const { in indexValid()
567 bool CompositeType::indexValid(unsigned Idx) const { in indexValid()
H A DInstructions.cpp1484 CompositeType *CT = dyn_cast<CompositeType>(Agg); in getIndexedTypeInternal()
2008 Agg = cast<CompositeType>(Agg)->getTypeAtIndex(Index); in getIndexedType()
H A DConstantFold.cpp2242 Prev = Ty, Ty = cast<CompositeType>(Ty)->getTypeAtIndex(Idxs[i]), ++i) { in ConstantFoldGetElementPtr()
H A DConstants.cpp962 ConstantAggregate::ConstantAggregate(CompositeType *T, ValueTy VT, in ConstantAggregate()
/freebsd-12.1/contrib/llvm/lib/FuzzMutate/
H A DOperations.cpp248 auto *CTy = cast<CompositeType>(Cur[0]->getType()); in validInsertValueIndex()
258 auto *CTy = cast<CompositeType>(Cur[0]->getType()); in validInsertValueIndex()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DStripSymbols.cpp152 if (isa<CompositeType>(C->getType())) in RemoveDeadConstant()
H A DArgumentPromotion.cpp294 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(II); in doPromotion()
754 if (!isa<CompositeType>(type)) in isDenselyPacked()
H A DGlobalOpt.cpp145 if (isa<CompositeType>(InnerTy)) in isLeakCheckerRoot()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp2304 isa<CompositeType>(SrcElTy) && !SrcElTy->isPointerTy() && in visitBitCast()
2306 SrcElTy = cast<CompositeType>(SrcElTy)->getTypeAtIndex(0U); in visitBitCast()
H A DInstructionCombining.cpp1665 } else if (auto *CT = dyn_cast<CompositeType>(CurTy)) { in visitGetElementPtrInst()