Lines Matching 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();
435 // Build the function type:
466 // Build the constant containing the pointer to the function
515 [this, &CFSCWB_arguments](llvm::Function *function) -> llvm::Value * {
520 m_entry_instruction_finder.GetValue(function)));
729 // This function does not report errors; its callers are responsible.
799 // Build the function type: struct objc_selector
817 // Build the constant containing the pointer to the function
864 // This function does not report errors; its callers are responsible.
975 // This function does not report errors; its callers are responsible.
1068 // This function does not report errors; its callers are responsible.
1110 "one of the arguments of a function call.\n");
1309 // This function does not report errors; its callers are responsible.
1338 constant_expr](llvm::Function *function) -> llvm::Value * {
1346 value_maker.GetValue(function), constant_expr->getType(),
1348 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)));
1549 value](llvm::Function *function) -> llvm::Value * {
1557 m_entry_instruction_finder.GetValue(function));
1559 Type *int8Ty = Type::getInt8Ty(function->getContext());
1640 LLDB_LOG(log, "Couldn't fix the linkage for the function");
1671 for (llvm::Function &function : *m_module) {
1672 for (BasicBlock &bb : function) {
1712 for (llvm::Function &function : *m_module) {
1713 for (llvm::BasicBlock &bb : function) {
1725 for (llvm::Function &function : *m_module) {
1726 for (BasicBlock &bb : function) {
1738 // Run function-level passes that only make sense on the main function