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

References

unittests/IR/ConstantsTest.cpp
  329   ArrayType *ArrayTy = ArrayType::get(IntTy, 2);
  330   Constant *A01Vals[2] = {ConstantInt::get(IntTy, 0),
  331                           ConstantInt::get(IntTy, 1)};
  334   Constant *Global = new GlobalVariable(*M, IntTy, false,
  336   Constant *GlobalInt = ConstantExpr::getPtrToInt(Global, IntTy);
  337   Constant *A0GVals[2] = {ConstantInt::get(IntTy, 0), GlobalInt};
  345   GlobalInt->replaceAllUsesWith(ConstantInt::get(IntTy, 1));