Lines Matching +full:function +full:- +full:off
1 //===-- MCExternalSymbolizer.cpp - External symbolizer --------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
22 // This function tries to add a symbolic operand in place of the immediate
25 // else false. If the getOpInfo() function was set as part of the
26 // setupForSymbolicDisassembly() call then that function is called to get any
28 // non-zero then the symbolic information it returns is used to create an MCExpr
32 // created. This function returns true if it adds an operand to the MCInst and
107 const MCExpr *Off = nullptr; in tryAddingSymbolicOperand() local
109 Off = MCConstantExpr::create(SymbolicOp.Value, Ctx); in tryAddingSymbolicOperand()
118 if (Off) in tryAddingSymbolicOperand()
119 Expr = MCBinaryExpr::createAdd(LHS, Off, Ctx); in tryAddingSymbolicOperand()
123 if (Off) in tryAddingSymbolicOperand()
124 Expr = MCBinaryExpr::createAdd(Add, Off, Ctx); in tryAddingSymbolicOperand()
128 if (Off) in tryAddingSymbolicOperand()
129 Expr = Off; in tryAddingSymbolicOperand()
134 Expr = RelInfo->createExprForCAPIVariantKind(Expr, SymbolicOp.VariantKind); in tryAddingSymbolicOperand()
142 // This function tries to add a comment as to what is being referenced by a load
150 // Or if the reference is to an Objective-C data structure it will return a