gcc-8.3/gcc/addr_expr_of_non_mem_decl_p_1()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#j3f4e5a8]
#backlinks
*説明 [#r9d62e55]
-パス: [[gcc-8.3/gcc/expr.c]]
-FIXME: これは何?
--説明
**引数 [#d596ac9c]
-tree addr
--
--[[gcc-8.3/gcc/tree]]
-bool nortl
--
**返り値 [#d31ffd32]
-bool
--
**参考 [#w3b88887]
*実装 [#xc6268c1]
/* Returns true if ADDR is an ADDR_EXPR of a DECL that d...
in memory and has non-BLKmode. DECL_RTL must not be ...
DECL_RTL was not set yet, return NORTL. */
static inline bool
addr_expr_of_non_mem_decl_p_1 (tree addr, bool nortl)
{
if (TREE_CODE (addr) != ADDR_EXPR)
return false;
tree base = TREE_OPERAND (addr, 0);
if (!DECL_P (base)
|| TREE_ADDRESSABLE (base)
|| DECL_MODE (base) == BLKmode)
return false;
if (!DECL_RTL_SET_P (base))
return nortl;
return (!MEM_P (DECL_RTL (base)));
}
-
--[[gcc-8.3/gcc/TREE_CODE()]]
--[[gcc-8.3/gcc/TREE_OPERAND()]]
--[[gcc-8.3/gcc/DECL_P()]]
--[[gcc-8.3/gcc/TREE_ADDRESSABLE()]]
--[[gcc-8.3/gcc/DECL_MODE()]]
--[[gcc-8.3/gcc/DECL_RTL_SET_P()]]
--[[gcc-8.3/gcc/MEM_P()]]
--[[gcc-8.3/gcc/DECL_RTL()]]
*コメント [#ufbb3c69]
終了行:
*参照元 [#j3f4e5a8]
#backlinks
*説明 [#r9d62e55]
-パス: [[gcc-8.3/gcc/expr.c]]
-FIXME: これは何?
--説明
**引数 [#d596ac9c]
-tree addr
--
--[[gcc-8.3/gcc/tree]]
-bool nortl
--
**返り値 [#d31ffd32]
-bool
--
**参考 [#w3b88887]
*実装 [#xc6268c1]
/* Returns true if ADDR is an ADDR_EXPR of a DECL that d...
in memory and has non-BLKmode. DECL_RTL must not be ...
DECL_RTL was not set yet, return NORTL. */
static inline bool
addr_expr_of_non_mem_decl_p_1 (tree addr, bool nortl)
{
if (TREE_CODE (addr) != ADDR_EXPR)
return false;
tree base = TREE_OPERAND (addr, 0);
if (!DECL_P (base)
|| TREE_ADDRESSABLE (base)
|| DECL_MODE (base) == BLKmode)
return false;
if (!DECL_RTL_SET_P (base))
return nortl;
return (!MEM_P (DECL_RTL (base)));
}
-
--[[gcc-8.3/gcc/TREE_CODE()]]
--[[gcc-8.3/gcc/TREE_OPERAND()]]
--[[gcc-8.3/gcc/DECL_P()]]
--[[gcc-8.3/gcc/TREE_ADDRESSABLE()]]
--[[gcc-8.3/gcc/DECL_MODE()]]
--[[gcc-8.3/gcc/DECL_RTL_SET_P()]]
--[[gcc-8.3/gcc/MEM_P()]]
--[[gcc-8.3/gcc/DECL_RTL()]]
*コメント [#ufbb3c69]
ページ名: