reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/TargetTransformInfoImpl.h
  907         DstTy = StructTy->getElementType(0);
include/llvm/IR/DerivedTypes.h
  371   return cast<StructType>(this)->getElementType(N);
lib/Analysis/ScalarEvolution.cpp
  519                     STy->getElementType(0)->isIntegerTy(1)) {
  520                   AllocTy = STy->getElementType(1);
lib/Analysis/ValueTracking.cpp
 3305       To = BuildSubAggregate(From, To, STy->getElementType(i), Idxs, IdxSkip,
lib/AsmParser/LLParser.cpp
 5234         if (ID.ConstantStructElts[i]->getType() != ST->getElementType(i))
lib/Bitcode/Reader/BitcodeReader.cpp
 2439                                                      STy->getElementType(i)));
 4942         FullTy = cast<StructType>(FullTy)->getElementType(0);
lib/CodeGen/Analysis.cpp
  135       computeValueLLTs(DL, *STy->getElementType(I), ValueTys, Offsets,
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 7776         OpTy = STy->getElementType(0);
 8092             DAG.getDataLayout(), STy->getElementType(ResNo));
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 4217             getSimpleValueType(DL, STy->getElementType(ResNo));
 4244           OpTy = STy->getElementType(0);
lib/ExecutionEngine/ExecutionEngine.cpp
  615           Type *ElemTy = STy->getElementType(i);
lib/IR/AutoUpgrade.cpp
  851   auto EltTy = StructType::get(STy->getElementType(0), STy->getElementType(1),
  851   auto EltTy = StructType::get(STy->getElementType(0), STy->getElementType(1),
lib/IR/ConstantFold.cpp
  120             ElTy = STy->getElementType(0);
  368         getFoldedSizeOf(STy->getElementType(0), DestTy, true);
  372             getFoldedSizeOf(STy->getElementType(i), DestTy, true)) {
  434       getFoldedAlignOf(STy->getElementType(0), DestTy, true);
  437       if (MemberAlign != getFoldedAlignOf(STy->getElementType(i), DestTy, true)) {
  490         getFoldedSizeOf(STy->getElementType(0), DestTy, true);
  494             getFoldedSizeOf(STy->getElementType(i), DestTy, true)) {
  667                   STy->getElementType(0)->isIntegerTy(1)) {
  668                 return getFoldedAlignOf(STy->getElementType(1), DestTy, false);
 1386       if (!isMaybeZeroSizedType(STy->getElementType(i))) return false;
lib/IR/DataLayout.cpp
   54     Type *Ty = ST->getElementType(i);
lib/IR/Function.cpp
 1165         if (matchIntrinsicType(ST->getElementType(i), Infos, ArgTys,
lib/IR/Type.cpp
  107       if (!STy->getElementType(i)->isEmptyTy())
  541     return STy->getElementType(Idx);
  550     return STy->getElementType(Idx);
lib/Linker/IRMover.cpp
  205       Elements[I] = get(SrcSTy->getElementType(I));
  862     Type *Tys[3] = {ST.getElementType(0), ST.getElementType(1), VoidPtrTy};
  862     Type *Tys[3] = {ST.getElementType(0), ST.getElementType(1), VoidPtrTy};
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  803       if (Inst->getArgOperand(i)->getType() != ST->getElementType(i))
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
  404           EffectiveEltTy = CT->getElementType(0);
lib/Target/ARM/ARMCallLowering.cpp
   65       if (StructT->getElementType(i) != StructT->getElementType(0))
   65       if (StructT->getElementType(i) != StructT->getElementType(0))
   67     return isSupportedType(DL, TLI, StructT->getElementType(0));
lib/Target/ARM/ARMISelLowering.cpp
16999       if (!isHomogeneousAggregate(ST->getElementType(i), Base, SubMembers))
lib/Target/Hexagon/HexagonCommonGEP.cpp
  215     Type *NextTy = cast<StructType>(Ty)->getElementType(i);
lib/Target/Mips/Mips16HardFloat.cpp
   80     if ((ST->getElementType(0)->isFloatTy()) &&
   81         (ST->getElementType(1)->isFloatTy()))
   83     if ((ST->getElementType(0)->isDoubleTy()) &&
   84         (ST->getElementType(1)->isDoubleTy()))
lib/Target/Mips/Mips16ISelLowering.cpp
  388       if ((SRetTy->getElementType(0)->isFloatTy()) &&
  389           (SRetTy->getElementType(1)->isFloatTy())) {
  391       } else if ((SRetTy->getElementType(0)->isDoubleTy()) &&
  392                  (SRetTy->getElementType(1)->isDoubleTy())) {
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 1390       Type *ETy = STy->getElementType(i);
lib/Transforms/Coroutines/CoroCleanup.cpp
   52   auto *Load = Builder.CreateLoad(FrameTy->getElementType(Index), Gep);
lib/Transforms/Coroutines/CoroFrame.cpp
  649                : Builder.CreateLoad(FrameTy->getElementType(Index), G,
lib/Transforms/Coroutines/CoroInternal.h
  146     return cast<IntegerType>(FrameTy->getElementType(SwitchFieldIndex::Index));
  155   return cast<PointerType>(FrameTy->getElementType(SwitchFieldIndex::Resume));
lib/Transforms/Coroutines/CoroSplit.cpp
  202       cast<PointerType>(RetStructTy ? RetStructTy->getElementType(0) : RetTy);
lib/Transforms/Coroutines/Coroutines.cpp
  568                     SRetTy->getElementType(0)->isPointerTy());
lib/Transforms/IPO/ArgumentPromotion.cpp
  269           Args.push_back(IRB.CreateLoad(STy->getElementType(i), Idx,
  799     Type *ElTy = StructTy->getElementType(i);
lib/Transforms/IPO/DeadArgumentElimination.cpp
  347     return STy->getElementType(Idx);
lib/Transforms/IPO/GlobalOpt.cpp
  486       GlobalVariable *NGV = new GlobalVariable(STy->getElementType(i), false,
  501       if (NewAlign > Align(DL.getABITypeAlignment(STy->getElementType(i))))
 1185       PHINode::Create(PointerType::get(ST->getElementType(FieldNo), AS),
 1300     Type *FieldTy = STy->getElementType(FieldNo);
lib/Transforms/IPO/IPConstantPropagation.cpp
  173       RetVals.push_back(UndefValue::get(STy->getElementType(i)));
lib/Transforms/IPO/LowerTypeTests.cpp
  879         GlobalAlias::create(NewTy->getElementType(I * 2), 0, GV->getLinkage(),
lib/Transforms/InstCombine/InstCombineCompares.cpp
  182       EltTy = STy->getElementType(IdxVal);
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  684       auto *L = IC.Builder.CreateAlignedLoad(ST->getElementType(i), Ptr,
lib/Transforms/InstCombine/InstructionCombining.cpp
 1134       Ty = STy->getElementType(Elt);
lib/Transforms/Instrumentation/GCOVProfiling.cpp
 1104       {Builder.CreateLoad(StartFileCallArgsTy->getElementType(0),
 1107        Builder.CreateLoad(StartFileCallArgsTy->getElementType(1),
 1110        Builder.CreateLoad(StartFileCallArgsTy->getElementType(2),
 1116       Builder.CreateLoad(FileInfoTy->getElementType(1),
 1119       Builder.CreateLoad(FileInfoTy->getElementType(2),
 1122       Builder.CreateLoad(FileInfoTy->getElementType(3),
 1135       {Builder.CreateLoad(EmitFunctionCallArgsTy->getElementType(0),
 1138        Builder.CreateLoad(EmitFunctionCallArgsTy->getElementType(1),
 1141        Builder.CreateLoad(EmitFunctionCallArgsTy->getElementType(2),
 1144        Builder.CreateLoad(EmitFunctionCallArgsTy->getElementType(3),
 1147        Builder.CreateLoad(EmitFunctionCallArgsTy->getElementType(4),
 1162            EmitArcsCallArgsTy->getElementType(0),
 1164        Builder.CreateLoad(EmitArcsCallArgsTy->getElementType(1),
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 1358         Elements.push_back(getShadowTy(ST->getElementType(i)));
 1554         Vals.push_back(getPoisonedShadow(ST->getElementType(i)));
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  506       { UndefValue::get(ST->getElementType(0)),
  507         ConstantInt::getFalse(ST->getElementType(1)) });
lib/Transforms/Scalar/SCCP.cpp
 1765                               : UndefValue::get(ST->getElementType(i)));
lib/Transforms/Scalar/SROA.cpp
 1519   Type *ElementTy = STy->getElementType(Index);
 3337           emitSplitOps(STy->getElementType(Idx), Agg, Name + "." + Twine(Idx));
 3480     InnerTy = STy->getElementType(Index);
 3554   Type *ElementTy = STy->getElementType(Index);
lib/Transforms/Utils/CodeExtractor.cpp
  939       RewriteVal = new LoadInst(StructTy->getElementType(i), GEP,
lib/Transforms/Utils/FunctionComparator.cpp
  454       if (int Res = cmpTypes(STyL->getElementType(i), STyR->getElementType(i)))
  454       if (int Res = cmpTypes(STyL->getElementType(i), STyR->getElementType(i)))
lib/Transforms/Utils/ValueMapper.cpp
  973     Type *Tys[3] = {ST.getElementType(0), ST.getElementType(1), VoidPtrTy};
  973     Type *Tys[3] = {ST.getElementType(0), ST.getElementType(1), VoidPtrTy};
tools/clang/include/clang/CodeGen/CGFunctionInfo.h
  225         assert(unpaddedStruct->getElementType(unpaddedIndex) == eltType);
tools/clang/lib/CodeGen/CGCall.cpp
 1133   llvm::Type *FirstElt = SrcSTy->getElementType(0);
 1638           ArgTypes[FirstIRArg + i] = st->getElementType(i);
 2522         llvm::Type *eltType = coercionType->getElementType(i);
 2927       auto coercedEltType = coercionType->getElementType(i);
 4167         llvm::Type *eltType = coercionType->getElementType(i);
 4480         llvm::Type *eltType = coercionType->getElementType(i);
tools/clang/lib/CodeGen/CGDecl.cpp
 1019       CurOp = llvm::Constant::getNullValue(STy->getElementType(i));
tools/clang/lib/CodeGen/CGExprConstant.cpp
  519         STy->getElementType(0) == Elems[First]->getType())
 2222       llvm::Type *baseType = structure->getElementType(fieldIndex);
 2261       llvm::Type *baseType = structure->getElementType(fieldIndex);
 2269       elements[i] = llvm::Constant::getNullValue(structure->getElementType(i));
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1533       Fields.add(llvm::Constant::getNullValue(StructTy->getElementType(I)));
tools/clang/lib/CodeGen/PatternInit.cpp
   83     Struct[El] = initializationPatternFor(CGM, StructTy->getElementType(El));
tools/clang/lib/CodeGen/TargetInfo.cpp
 3129     return ContainsFloatAtOffset(STy->getElementType(Elt), IROffset, TD);
 3217       return GetINTEGERTypeAtOffset(STy->getElementType(FieldIdx), IROffset,
 3800     llvm::Type *TyLo = ST->getElementType(0);
 3801     llvm::Type *TyHi = ST->getElementType(1);
 8259         llvm::Type *ElemTy = StrTy->getElementType(i);
unittests/AsmParser/AsmParserTest.cpp
  208     Ty = ST->getElementType(i);
  222     Ty = ST->getElementType(i);
  338     Ty = ST->getElementType(i);
  353     Ty = ST->getElementType(i);