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

References

lib/IR/ConstantFold.cpp
  636       if (CE->getOpcode() == Instruction::GetElementPtr &&
  637           CE->getOperand(0)->isNullValue()) {
  647         GEPOperator *GEPO = cast<GEPOperator>(CE);
  649         if (CE->getNumOperands() == 2) {
  651           Constant *Idx = CE->getOperand(1);
  659         } else if (CE->getNumOperands() == 3 &&
  660                    CE->getOperand(1)->isNullValue()) {
  664               ConstantInt *CI = cast<ConstantInt>(CE->getOperand(2));
  673             if (Constant *C = getFoldedOffsetOf(Ty, CE->getOperand(2),