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

References

tools/clang/lib/CodeGen/CGExprCXX.cpp
  697   numElements =
  699   if (!numElements)
  700     numElements = CGF.EmitScalarExpr(*e->getArraySize());
  701   assert(isa<llvm::IntegerType>(numElements->getType()));
  712     = cast<llvm::IntegerType>(numElements->getType());
  733         dyn_cast<llvm::ConstantInt>(numElements)) {
  760     numElements = llvm::ConstantInt::get(CGF.SizeTy,
  813       hasOverflow = CGF.Builder.CreateICmpUGE(numElements, thresholdV);
  814       numElements = CGF.Builder.CreateTrunc(numElements, CGF.SizeTy);
  814       numElements = CGF.Builder.CreateTrunc(numElements, CGF.SizeTy);
  819         numElements = CGF.Builder.CreateSExt(numElements, CGF.SizeTy);
  819         numElements = CGF.Builder.CreateSExt(numElements, CGF.SizeTy);
  827         hasOverflow = CGF.Builder.CreateICmpSLT(numElements,
  832       numElements = CGF.Builder.CreateZExt(numElements, CGF.SizeTy);
  832       numElements = CGF.Builder.CreateZExt(numElements, CGF.SizeTy);
  835     assert(numElements->getType() == CGF.SizeTy);
  840         hasOverflow = CGF.Builder.CreateICmpULT(numElements,
  847                           CGF.Builder.CreateICmpULT(numElements,
  852     size = numElements;
  884           numElements = size;
  890           numElements = CGF.Builder.CreateMul(numElements, asmV);
  890           numElements = CGF.Builder.CreateMul(numElements, asmV);