Lines Matching refs:CS
21 static const Function *getCalledFunction(ImmutableCallSite CS) {
22 if (!CS.getInstruction())
24 return CS.getCalledFunction();
27 bool llvm::isStatepoint(ImmutableCallSite CS) {
28 if (auto *F = getCalledFunction(CS))
34 if (auto CS = ImmutableCallSite(V))
35 return isStatepoint(CS);
43 bool llvm::isGCRelocate(ImmutableCallSite CS) {
44 return CS.getInstruction() && isa<GCRelocateInst>(CS.getInstruction());
47 bool llvm::isGCResult(ImmutableCallSite CS) {
48 return CS.getInstruction() && isa<GCResultInst>(CS.getInstruction());