Lines Matching +defs:symbol +defs:function

56 IRForTarget::FunctionValueCache::GetValue(llvm::Function *function) {
57 if (!m_values.count(function)) {
58 llvm::Value *ret = m_maker(function);
59 m_values[function] = ret;
62 return m_values[function];
65 static llvm::Value *FindEntryInstruction(llvm::Function *function) {
66 if (function->empty())
69 return &*function->getEntryBlock().getFirstNonPHIOrDbg();
152 /// Returns true iff the mangled symbol is for a static guard variable.
431 // Build the function type:
462 // Build the constant containing the pointer to the function
511 [this, &CFSCWB_arguments](llvm::Function *function) -> llvm::Value * {
516 m_entry_instruction_finder.GetValue(function))
726 // This function does not report errors; its callers are responsible.
796 // Build the function type: struct objc_selector
814 // Build the constant containing the pointer to the function
861 // This function does not report errors; its callers are responsible.
973 // This function does not report errors; its callers are responsible.
1066 // This function does not report errors; its callers are responsible.
1067 bool IRForTarget::HandleSymbol(Value *symbol) {
1070 lldb_private::ConstString name(symbol->getName().str().c_str());
1083 Type *symbol_type = symbol->getType();
1090 LLDB_LOG(log, "Replacing {0} with {1}", PrintValue(symbol),
1093 symbol->replaceAllUsesWith(symbol_addr_ptr);
1108 "one of the arguments of a function call.\n");
1229 "indirect ivar symbol {0}\n",
1307 // This function does not report errors; its callers are responsible.
1336 constant_expr](llvm::Function *function) -> llvm::Value * {
1344 value_maker.GetValue(function), constant_expr->getType(),
1347 entry_instruction_finder.GetValue(function))
1362 constant_expr](llvm::Function *function) -> llvm::Value * {
1367 ptr = value_maker.GetValue(function);
1372 operand = value_maker.GetValue(function);
1382 entry_instruction_finder.GetValue(function))
1550 value](llvm::Function *function) -> llvm::Value * {
1558 m_entry_instruction_finder.GetValue(function));
1560 Type *int8Ty = Type::getInt8Ty(function->getContext());
1641 LLDB_LOG(log, "Couldn't fix the linkage for the function");
1670 for (llvm::Function &function : *m_module) {
1671 for (BasicBlock &bb : function) {
1711 for (llvm::Function &function : *m_module) {
1712 for (llvm::BasicBlock &bb : function) {
1724 for (llvm::Function &function : *m_module) {
1725 for (BasicBlock &bb : function) {
1737 // Run function-level passes that only make sense on the main function