Lines Matching refs:CallInst
27 static bool isRSAPICall(llvm::CallInst *call_inst) { in isRSAPICall()
40 static bool isRSLargeReturnCall(llvm::CallInst *call_inst) { in isRSLargeReturnCall()
64 static bool isRSAllocationTyCallSite(llvm::CallInst *call_inst) { in isRSAllocationTyCallSite()
75 static llvm::FunctionType *cloneToStructRetFnTy(llvm::CallInst *call_inst) { in cloneToStructRetFnTy()
120 findRSCallSites(llvm::Module &module, std::set<llvm::CallInst *> &rs_callsites, in findRSCallSites()
121 bool (*predicate)(llvm::CallInst *)) { in findRSCallSites() argument
127 llvm::CallInst *call_inst = in findRSCallSites()
128 llvm::dyn_cast_or_null<llvm::CallInst>(&inst); in findRSCallSites()
145 std::set<llvm::CallInst *> rs_callsites; in fixupX86StructRetCalls()
186 llvm::CallInst *new_call_inst = in fixupX86StructRetCalls()
187 llvm::CallInst::Create(new_func_type, new_func_addr_load, new_call_args, in fixupX86StructRetCalls()
217 std::set<llvm::CallInst *> rs_callsites; in fixupRSAllocationStructByValCalls()