Searched refs:CompositeType (Results 1 – 13 of 13) sorted by relevance
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | Analysis.cpp | 357 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 D | DerivedTypes.h | 162 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 D | Constants.h | 392 ConstantAggregate(CompositeType *T, ValueTy VT, ArrayRef<Constant *> V);
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Type.cpp | 530 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 D | Instructions.cpp | 1484 CompositeType *CT = dyn_cast<CompositeType>(Agg); in getIndexedTypeInternal() 2008 Agg = cast<CompositeType>(Agg)->getTypeAtIndex(Index); in getIndexedType()
|
| H A D | ConstantFold.cpp | 2242 Prev = Ty, Ty = cast<CompositeType>(Ty)->getTypeAtIndex(Idxs[i]), ++i) { in ConstantFoldGetElementPtr()
|
| H A D | Constants.cpp | 962 ConstantAggregate::ConstantAggregate(CompositeType *T, ValueTy VT, in ConstantAggregate()
|
| /freebsd-12.1/contrib/llvm/lib/FuzzMutate/ |
| H A D | Operations.cpp | 248 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 D | StripSymbols.cpp | 152 if (isa<CompositeType>(C->getType())) in RemoveDeadConstant()
|
| H A D | ArgumentPromotion.cpp | 294 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(II); in doPromotion() 754 if (!isa<CompositeType>(type)) in isDenselyPacked()
|
| H A D | GlobalOpt.cpp | 145 if (isa<CompositeType>(InnerTy)) in isLeakCheckerRoot()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 2304 isa<CompositeType>(SrcElTy) && !SrcElTy->isPointerTy() && in visitBitCast() 2306 SrcElTy = cast<CompositeType>(SrcElTy)->getTypeAtIndex(0U); in visitBitCast()
|
| H A D | InstructionCombining.cpp | 1665 } else if (auto *CT = dyn_cast<CompositeType>(CurTy)) { in visitGetElementPtrInst()
|