|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/IR/DerivedTypes.h 367 return cast<StructType>(this)->getNumElements();
lib/Analysis/ConstantFolding.cpp 441 if (Index == CS->getType()->getNumElements())
lib/Analysis/ScalarEvolution.cpp 518 STy->getNumElements() == 2 &&
lib/Analysis/ScalarEvolutionExpander.cpp 467 if (STy->getNumElements() == 0) break;
lib/Analysis/ValueTracking.cpp 3301 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
lib/AsmParser/LLParser.cpp 5226 if (ST->getNumElements() != ID.UIntVal)
lib/CodeGen/Analysis.cpp 134 for (unsigned I = 0, E = STy->getNumElements(); I != E; ++I)
402 return Idx < cast<StructType>(T)->getNumElements();
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 1996 if (!ETy || ETy->getNumElements() != 3 ||
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 7775 if (STy->getNumElements() == 1)
lib/CodeGen/SelectionDAG/TargetLowering.cpp 4243 if (STy->getNumElements() == 1)
lib/ExecutionEngine/ExecutionEngine.cpp 612 unsigned int elemNum = STy->getNumElements();
lib/FuzzMutate/Operations.cpp 227 for (int I = 0, E = STy->getNumElements(); I < E; ++I)
238 for (int I = 0, E = STy->getNumElements(); I < E; ++I)
lib/IR/AsmWriter.cpp 646 if (STy->getNumElements() == 0) {
lib/IR/AutoUpgrade.cpp 846 if (!STy || STy->getNumElements() != 2)
lib/IR/ConstantFold.cpp 119 if (STy->getNumElements() == 0) break;
362 unsigned NumElems = STy->getNumElements();
428 unsigned NumElems = STy->getNumElements();
484 unsigned NumElems = STy->getNumElements();
666 STy->getNumElements() == 2 &&
919 NumElts = ST->getNumElements();
1385 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
lib/IR/Constants.cpp 1070 assert((T->isOpaque() || V.size() == T->getNumElements()) &&
1076 assert((ST->isOpaque() || ST->getNumElements() == V.size()) &&
lib/IR/Core.cpp 702 return unwrap<StructType>(StructTy)->getNumElements();
lib/IR/DataLayout.cpp 50 NumElements = ST->getNumElements();
623 int NumElts = Ty->getNumElements();
lib/IR/Function.cpp 1161 if (!ST || ST->getNumElements() != D.Struct_NumElements)
lib/IR/InlineAsm.cpp 294 if (!STy || STy->getNumElements() != NumOutputs)
lib/IR/Instructions.cpp 2175 if (Index >= ST->getNumElements())
lib/IR/Type.cpp 105 unsigned NumElements = STy->getNumElements();
566 return CU && CU->getZExtValue() < STy->getNumElements();
575 return Idx < STy->getNumElements();
lib/IR/Verifier.cpp 649 (STy->getNumElements() == 2 || STy->getNumElements() == 3) &&
649 (STy->getNumElements() == 2 || STy->getNumElements() == 3) &&
653 Assert(STy->getNumElements() == 3,
lib/Linker/IRMover.cpp 203 Elements.resize(SrcSTy->getNumElements());
853 if (cast<StructType>(EltTy)->getNumElements() == 3)
lib/Target/AArch64/AArch64TargetTransformInfo.cpp 800 if (ST->getNumElements() != NumElts)
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp 403 assert(CT->getNumElements() == 1);
lib/Target/ARM/ARMCallLowering.cpp 64 for (unsigned i = 1, e = StructT->getNumElements(); i != e; ++i)
lib/Target/ARM/ARMISelLowering.cpp16997 for (unsigned i = 0; i < ST->getNumElements(); ++i) {
lib/Target/Hexagon/HexagonTargetObjectFile.cpp 305 return (STy->getNumElements() == 0) ? 0 : SmallestElement;
lib/Target/Mips/Mips16HardFloat.cpp 78 if (ST->getNumElements() != 2)
lib/Target/Mips/Mips16ISelLowering.cpp 387 if (SRetTy->getNumElements() == 2) {
lib/Target/NVPTX/NVPTXAsmPrinter.cpp 1389 for (unsigned i = 0, e = STy->getNumElements(); i != e; i++) {
lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp 73 if (!ETy || ETy->getNumElements() != 3 ||
lib/Transforms/Coroutines/Coroutines.cpp 567 SRetTy->getNumElements() > 0 &&
lib/Transforms/IPO/ArgumentPromotion.cpp 146 ArgAttrVec.insert(ArgAttrVec.end(), STy->getNumElements(),
264 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
396 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
798 for (unsigned i = 0, E = StructTy->getNumElements(); i < E; ++i) {
958 if (MaxElements > 0 && STy->getNumElements() > MaxElements) {
lib/Transforms/IPO/DeadArgumentElimination.cpp 332 return STy->getNumElements();
lib/Transforms/IPO/GlobalOpt.cpp 480 unsigned NumElements = STy->getNumElements();
1299 for (unsigned FieldNo = 0, e = STy->getNumElements(); FieldNo != e;++FieldNo){
1533 if (AllocSTy->getNumElements() <= 16 && AllocSTy->getNumElements() != 0 &&
1533 if (AllocSTy->getNumElements() <= 16 && AllocSTy->getNumElements() != 0 &&
2399 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
2405 assert(Idx < STy->getNumElements() && "Struct index out of range!");
2546 NumElts = STy->getNumElements();
lib/Transforms/IPO/IPConstantPropagation.cpp 172 for (unsigned i = 0, e = STy->getNumElements(); i < e; ++i)
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 649 auto NumElements = ST->getNumElements();
1107 if (ST->getNumElements() != UT->getNumElements())
1183 unsigned Count = ST->getNumElements();
lib/Transforms/Instrumentation/MemorySanitizer.cpp 1357 for (unsigned i = 0, n = ST->getNumElements(); i < n; i++)
1553 for (unsigned i = 0, n = ST->getNumElements(); i < n; i++)
3658 NumRetOutputs = ST->getNumElements();
lib/Transforms/Scalar/SCCP.cpp 307 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
358 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
402 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
412 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
526 assert(i < cast<StructType>(V->getType())->getNumElements() &&
854 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
922 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
1324 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
1352 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
1460 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
1761 for (unsigned i = 0, e = ST->getNumElements(); i != e; ++i) {
lib/Transforms/Scalar/SROA.cpp 3332 for (unsigned Idx = 0, Size = STy->getNumElements(); Idx != Size;
lib/Transforms/Utils/FunctionComparator.cpp 317 unsigned NumElementsL = cast<StructType>(TyL)->getNumElements();
318 unsigned NumElementsR = cast<StructType>(TyR)->getNumElements();
447 if (STyL->getNumElements() != STyR->getNumElements())
447 if (STyL->getNumElements() != STyR->getNumElements())
448 return cmpNumbers(STyL->getNumElements(), STyR->getNumElements());
448 return cmpNumbers(STyL->getNumElements(), STyR->getNumElements());
453 for (unsigned i = 0, e = STyL->getNumElements(); i != e; ++i) {
lib/Transforms/Utils/ModuleUtils.cpp 49 ConstantStruct::get(EltTy, makeArrayRef(CSVals, EltTy->getNumElements()));
lib/Transforms/Vectorize/SLPVectorizer.cpp 2813 N = ST->getNumElements();
tools/clang/include/clang/CodeGen/CGFunctionInfo.h 217 assert(!unpaddedStruct || unpaddedStruct->getNumElements() != 1);
234 assert(unpaddedStruct->getNumElements() == unpaddedIndex);
tools/clang/include/clang/CodeGen/ConstantInitBuilder.h 466 if (this->size() == structTy->getNumElements()) {
tools/clang/lib/CodeGen/CGCall.cpp 1131 if (SrcSTy->getNumElements() == 0) return SrcPtr;
1274 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
1454 IRArgs.NumberOfArgs = STy->getNumElements();
1636 assert(NumIRArgs == st->getNumElements());
1637 for (unsigned i = 0, e = st->getNumElements(); i != e; ++i)
2466 STy->getNumElements() > 1) {
2479 assert(STy->getNumElements() == NumIRArgs);
2480 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
2521 for (unsigned i = 0, e = coercionType->getNumElements(); i != e; ++i) {
2926 for (unsigned i = 0, e = coercionType->getNumElements(); i != e; ++i) {
4116 assert(NumIRArgs == STy->getNumElements());
4117 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
4166 for (unsigned i = 0, e = coercionType->getNumElements(); i != e; ++i) {
4213 assert(DeclaredTy->getNumElements() == FullTy->getNumElements());
4213 assert(DeclaredTy->getNumElements() == FullTy->getNumElements());
4479 for (unsigned i = 0, e = coercionType->getNumElements(); i != e; ++i) {
tools/clang/lib/CodeGen/CGDecl.cpp 1010 for (unsigned i = 0, e = STy->getNumElements(); i != e; i++) {
1033 if (NestedIntact && Values.size() == STy->getNumElements())
tools/clang/lib/CodeGen/CGExprConstant.cpp 518 if (STy && STy->getNumElements() == 1 &&
2199 unsigned numElements = structure->getNumElements();
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 7806 unsigned NumElements = St->getNumElements();
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 2853 for (unsigned I = 1, E = LType->getNumElements(); I != E; ++I) {
tools/clang/lib/CodeGen/PatternInit.cpp 81 llvm::SmallVector<llvm::Constant *, 8> Struct(StructTy->getNumElements());
tools/clang/lib/CodeGen/TargetInfo.cpp 3799 assert(ST->getNumElements() == 2 && "Unexpected ABI info for mixed regs");
8258 for (unsigned i = 0, e = StrTy->getNumElements(); i != e; ++i) {
tools/polly/lib/Analysis/ScopBuilder.cpp 1344 if (StructArrTy->getNumElements() != 4)
1374 if (DescriptorDimTy->getNumElements() != 3)
unittests/AsmParser/AsmParserTest.cpp 206 ASSERT_TRUE(ST->getNumElements() == 2);
207 for (unsigned i = 0, e = ST->getNumElements(); i != e; ++i) {
220 ASSERT_TRUE(ST->getNumElements() == 4);
221 for (unsigned i = 0, e = ST->getNumElements(); i != e; ++i) {
336 ASSERT_TRUE(ST->getNumElements() == 2);
337 for (unsigned i = 0, e = ST->getNumElements(); i != e; ++i) {
351 ASSERT_TRUE(ST->getNumElements() == 4);
352 for (unsigned i = 0, e = ST->getNumElements(); i != e; ++i) {