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

References

lib/IR/Verifier.cpp
 1939   assert(Call.getCalledFunction() &&
 1940          Call.getCalledFunction()->getIntrinsicID() ==
 1943   Assert(!Call.doesNotAccessMemory() && !Call.onlyReadsMemory() &&
 1943   Assert(!Call.doesNotAccessMemory() && !Call.onlyReadsMemory() &&
 1944              !Call.onlyAccessesArgMemory(),
 1947          Call);
 1950       cast<ConstantInt>(Call.getArgOperand(1))->getSExtValue();
 1955          Call);
 1957   const Value *Target = Call.getArgOperand(2);
 1960          "gc.statepoint callee must be of function pointer type", Call, Target);
 1963   const int NumCallArgs = cast<ConstantInt>(Call.getArgOperand(3))->getZExtValue();
 1967          Call);
 1971            "gc.statepoint mismatch in number of vararg call args", Call);
 1977            Call);
 1980            "gc.statepoint mismatch in number of call args", Call);
 1983     = cast<ConstantInt>(Call.getArgOperand(4))->getZExtValue();
 1985          "unknown flag used in gc.statepoint flags argument", Call);
 1989   AttributeList Attrs = Call.getAttributes();
 1992     Type *ArgType = Call.getArgOperand(5 + i)->getType();
 1996            Call);
 2002              Call);
 2008   const Value *NumTransitionArgsV = Call.getArgOperand(EndCallArgsInx + 1);
 2012          Call);
 2016          "gc.statepoint number of transition arguments must be positive", Call);
 2019   const Value *NumDeoptArgsV = Call.getArgOperand(EndTransitionArgsInx + 1);
 2023          Call);
 2028          Call);
 2032   Assert(ExpectedNumArgs <= (int)Call.arg_size(),
 2033          "gc.statepoint too few arguments according to length fields", Call);
 2038   for (const User *U : Call.users()) {
 2040     Assert(UserCall, "illegal use of statepoint token", Call, U);
 2046            Call, U);
 2048       Assert(UserCall->getArgOperand(0) == &Call,
 2049              "gc.result connected to wrong gc.statepoint", Call, UserCall);
 2050     } else if (isa<GCRelocateInst>(Call)) {
 2051       Assert(UserCall->getArgOperand(0) == &Call,
 2052              "gc.relocate connected to wrong gc.statepoint", Call, UserCall);