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

References

lib/Analysis/InlineCost.cpp
  435     Constant *Size = SimplifiedValues.lookup(I.getArraySize());
lib/Analysis/Lint.cpp
  605   if (isa<ConstantInt>(I.getArraySize()))
lib/Analysis/MemoryBuiltins.cpp
  639   Value *ArraySize = I.getArraySize();
  922   Value *ArraySize = I.getArraySize();
lib/CodeGen/SafeStack.cpp
  647     Value *ArraySize = AI->getArraySize();
lib/IR/Verifier.cpp
 3471   Assert(AI.getArraySize()->getType()->isIntegerTy(),
lib/Target/AArch64/AArch64StackTagging.cpp
  476                 cast<ConstantInt>(Info.AI->getArraySize())->getZExtValue())
lib/Target/NVPTX/NVPTXAllocaHoisting.cpp
   48       if (allocaInst && isa<ConstantInt>(allocaInst->getArraySize())) {
lib/Transforms/Coroutines/CoroFrame.cpp
  453       if (auto *CI = dyn_cast<ConstantInt>(AI->getArraySize()))
  625       if (auto *CI = dyn_cast<ConstantInt>(AI->getArraySize())) {
lib/Transforms/InstCombine/InstCombineCasts.cpp
  131     Amt = ConstantInt::get(AI.getArraySize()->getType(), Scale);
  137     Value *Off = ConstantInt::get(AI.getArraySize()->getType(),
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  186     if (AI.getArraySize()->getType()->isIntegerTy(32))
  196   if (const ConstantInt *C = dyn_cast<ConstantInt>(AI.getArraySize())) {
  225   if (isa<UndefValue>(AI.getArraySize()))
  231   if (AI.getArraySize()->getType() != IntPtrTy) {
  232     Value *V = IC.Builder.CreateIntCast(AI.getArraySize(), IntPtrTy, false);
  359         AI.setOperand(0, ConstantInt::get(AI.getArraySize()->getType(), 1));
  794       ConstantInt *CS = dyn_cast<ConstantInt>(AI->getArraySize());
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 3277       IRB.CreateMul(IRB.CreateIntCast(AI->getArraySize(), IntptrTy, false),
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
 1192             cast<ConstantInt>(AI->getArraySize())->getZExtValue();
 1233         if (isa<ConstantInt>(AI->getArraySize()))
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 3489       Len = IRB.CreateMul(Len, I.getArraySize());
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  753   ConstantInt *srcArraySize = dyn_cast<ConstantInt>(srcAlloca->getArraySize());
  769     ConstantInt *destArraySize = dyn_cast<ConstantInt>(A->getArraySize());
lib/Transforms/Scalar/TailRecursionElimination.cpp
  586           if (isa<ConstantInt>(AI->getArraySize()))
lib/Transforms/Utils/InlineFunction.cpp
 1972           dyn_cast<ConstantInt>(AI->getArraySize())) {