/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | ssa_rewrite_pass.cpp | 93 SSARewriter::PhiCandidate& SSARewriter::CreatePhiCandidate(uint32_t var_id, in CreatePhiCandidate() argument 98 phi_result_id, PhiCandidate(var_id, phi_result_id, bb)); in CreatePhiCandidate() 119 WriteVariable(phi_to_remove.var_id(), bb, repl_id); in ReplacePhiUsersWith() 210 ? GetReachingDef(phi_candidate->var_id(), pred_bb) in AddPhiOperands() 246 uint32_t SSARewriter::GetValueAtBlock(uint32_t var_id, BasicBlock* bb) { in GetValueAtBlock() argument 251 const auto& var_it = current_defs.find(var_id); in GetValueAtBlock() 259 uint32_t SSARewriter::GetReachingDef(uint32_t var_id, BasicBlock* bb) { in GetReachingDef() argument 261 uint32_t val_id = GetValueAtBlock(var_id, bb); in GetReachingDef() 269 val_id = GetReachingDef(var_id, pass_->cfg()->block(predecessors[0])); in GetReachingDef() 274 PhiCandidate& phi_candidate = CreatePhiCandidate(var_id, bb); in GetReachingDef() [all …]
|
D | ssa_rewrite_pass.h | 64 uint32_t var_id() const { return var_id_; } in var_id() function 188 void WriteVariable(uint32_t var_id, BasicBlock* bb, uint32_t val_id) { in WriteVariable() argument 189 defs_at_block_[bb][var_id] = val_id; in WriteVariable() 197 uint32_t GetValueAtBlock(uint32_t var_id, BasicBlock* bb); 217 uint32_t GetReachingDef(uint32_t var_id, BasicBlock* bb); 235 PhiCandidate& CreatePhiCandidate(uint32_t var_id, BasicBlock* bb);
|
D | local_single_store_elim_pass.cpp | 144 uint32_t var_id = var_inst->result_id(); in ProcessVariable() local 146 context()->get_debug_info_mgr()->IsVariableDebugDeclared(var_id)) { in ProcessVariable() 151 modified |= RewriteDebugDeclares(store_inst, var_id); in ProcessVariable() 159 uint32_t var_id) { in RewriteDebugDeclares() argument 164 store_inst, var_id, value_id, store_inst, &invisible_decls); in RewriteDebugDeclares() 183 modified |= context()->get_debug_info_mgr()->KillDebugDeclares(var_id); in RewriteDebugDeclares()
|
D | inst_bindless_check_pass.cpp | 50 uint32_t var_id, InstructionBuilder* builder) { in GenDebugReadLength() argument 52 var2desc_set_[var_id] + kDebugInputBindlessOffsetLengths; in GenDebugReadLength() 54 uint32_t binding_idx_id = builder->GetUintConstantId(var2binding_[var_id]); in GenDebugReadLength() 58 uint32_t InstBindlessCheckPass::GenDebugReadInit(uint32_t var_id, in GenDebugReadInit() argument 61 uint32_t binding_idx_id = builder->GetUintConstantId(var2binding_[var_id]); in GenDebugReadInit() 68 builder->GetUintConstantId(var2desc_set_[var_id] + 1); in GenDebugReadInit() 75 builder->GetUintConstantId(var2desc_set_[var_id]); in GenDebugReadInit() 202 ref->var_id = ptr_inst->GetSingleWordInOperand(kSpvAccessChainBaseIdInIdx); in AnalyzeDescriptorReference() 203 Instruction* var_inst = get_def_use_mgr()->GetDef(ref->var_id); in AnalyzeDescriptorReference() 262 ref->var_id = ref->ptr_id; in AnalyzeDescriptorReference() [all …]
|
D | amd_ext_to_khr.cpp | 229 uint32_t var_id = in ReplaceSwizzleInvocations() local 231 assert(var_id != 0 && "Could not get SubgroupLocalInvocationId variable."); in ReplaceSwizzleInvocations() 232 Instruction* var_inst = ctx->get_def_use_mgr()->GetDef(var_id); in ReplaceSwizzleInvocations() 237 Instruction* id = ir_builder.AddLoad(uint_type_id, var_id); in ReplaceSwizzleInvocations() 351 uint32_t var_id = in ReplaceSwizzleInvocationsMasked() local 354 assert(var_id != 0 && "Could not get SubgroupLocalInvocationId variable."); in ReplaceSwizzleInvocationsMasked() 355 Instruction* var_inst = ctx->get_def_use_mgr()->GetDef(var_id); in ReplaceSwizzleInvocationsMasked() 360 Instruction* id = ir_builder.AddLoad(uint_type_id, var_id); in ReplaceSwizzleInvocationsMasked() 423 uint32_t var_id = in ReplaceWriteInvocation() local 427 assert(var_id != 0 && "Could not get SubgroupLocalInvocationId variable."); in ReplaceWriteInvocation() [all …]
|
D | ir_context.cpp | 770 void IRContext::AddVarToEntryPoints(uint32_t var_id) { in AddVarToEntryPoints() argument 774 e.ForEachInOperand([&ocnt, &found, &var_id](const uint32_t* idp) { in AddVarToEntryPoints() 776 if (*idp == var_id) found = true; in AddVarToEntryPoints() 781 e.AddOperand({SPV_OPERAND_TYPE_ID, {var_id}}); in AddVarToEntryPoints() 794 uint32_t var_id = FindBuiltinInputVar(builtin); in GetBuiltinInputVarId() local 795 if (var_id == 0) { in GetBuiltinInputVarId() 848 var_id = TakeNextId(); in GetBuiltinInputVarId() 850 new Instruction(this, SpvOpVariable, varTyPtrId, var_id, in GetBuiltinInputVarId() 855 get_decoration_mgr()->AddDecorationVal(var_id, SpvDecorationBuiltIn, in GetBuiltinInputVarId() 857 AddVarToEntryPoints(var_id); in GetBuiltinInputVarId() [all …]
|
D | debug_info_manager.cpp | 113 void DebugInfoManager::RegisterDbgDeclare(uint32_t var_id, in RegisterDbgDeclare() argument 119 auto dbg_decl_itr = var_id_to_dbg_decl_.find(var_id); in RegisterDbgDeclare() 121 var_id_to_dbg_decl_[var_id] = {dbg_declare}; in RegisterDbgDeclare() 552 uint32_t var_id = in GetVariableIdOfDebugValueUsedForDeclare() local 560 auto* var = context()->get_def_use_mgr()->GetDef(var_id); in GetVariableIdOfDebugValueUsedForDeclare() 564 return var_id; in GetVariableIdOfDebugValueUsedForDeclare() 646 uint32_t var_id = in AnalyzeDebugInst() local 648 RegisterDbgDeclare(var_id, inst); in AnalyzeDebugInst() 651 if (uint32_t var_id = GetVariableIdOfDebugValueUsedForDeclare(inst)) { in AnalyzeDebugInst() local 652 RegisterDbgDeclare(var_id, inst); in AnalyzeDebugInst()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/ |
D | ssa_rewrite_pass.cpp | 93 SSARewriter::PhiCandidate& SSARewriter::CreatePhiCandidate(uint32_t var_id, in CreatePhiCandidate() argument 98 phi_result_id, PhiCandidate(var_id, phi_result_id, bb)); in CreatePhiCandidate() 119 WriteVariable(phi_to_remove.var_id(), bb, repl_id); in ReplacePhiUsersWith() 210 ? GetReachingDef(phi_candidate->var_id(), pred_bb) in AddPhiOperands() 246 uint32_t SSARewriter::GetValueAtBlock(uint32_t var_id, BasicBlock* bb) { in GetValueAtBlock() argument 251 const auto& var_it = current_defs.find(var_id); in GetValueAtBlock() 259 uint32_t SSARewriter::GetReachingDef(uint32_t var_id, BasicBlock* bb) { in GetReachingDef() argument 261 uint32_t val_id = GetValueAtBlock(var_id, bb); in GetReachingDef() 269 val_id = GetReachingDef(var_id, pass_->cfg()->block(predecessors[0])); in GetReachingDef() 274 PhiCandidate& phi_candidate = CreatePhiCandidate(var_id, bb); in GetReachingDef() [all …]
|
D | ssa_rewrite_pass.h | 64 uint32_t var_id() const { return var_id_; } in var_id() function 188 void WriteVariable(uint32_t var_id, BasicBlock* bb, uint32_t val_id) { in WriteVariable() argument 189 defs_at_block_[bb][var_id] = val_id; in WriteVariable() 197 uint32_t GetValueAtBlock(uint32_t var_id, BasicBlock* bb); 217 uint32_t GetReachingDef(uint32_t var_id, BasicBlock* bb); 235 PhiCandidate& CreatePhiCandidate(uint32_t var_id, BasicBlock* bb);
|
D | local_single_store_elim_pass.cpp | 147 uint32_t var_id = var_inst->result_id(); in ProcessVariable() local 149 context()->get_debug_info_mgr()->IsVariableDebugDeclared(var_id)) { in ProcessVariable() 154 modified |= RewriteDebugDeclares(store_inst, var_id); in ProcessVariable() 162 uint32_t var_id) { in RewriteDebugDeclares() argument 167 store_inst, var_id, value_id, store_inst, &invisible_decls); in RewriteDebugDeclares() 186 modified |= context()->get_debug_info_mgr()->KillDebugDeclares(var_id); in RewriteDebugDeclares()
|
D | inst_bindless_check_pass.cpp | 53 uint32_t var_id, InstructionBuilder* builder) { in GenDebugReadLength() argument 55 var2desc_set_[var_id] + kDebugInputBindlessOffsetLengths; in GenDebugReadLength() 57 uint32_t binding_idx_id = builder->GetUintConstantId(var2binding_[var_id]); in GenDebugReadLength() 61 uint32_t InstBindlessCheckPass::GenDebugReadInit(uint32_t var_id, in GenDebugReadInit() argument 64 uint32_t binding_idx_id = builder->GetUintConstantId(var2binding_[var_id]); in GenDebugReadInit() 71 builder->GetUintConstantId(var2desc_set_[var_id] + 1); in GenDebugReadInit() 78 builder->GetUintConstantId(var2desc_set_[var_id]); in GenDebugReadInit() 205 ref->var_id = ptr_inst->GetSingleWordInOperand(kSpvAccessChainBaseIdInIdx); in AnalyzeDescriptorReference() 206 Instruction* var_inst = get_def_use_mgr()->GetDef(ref->var_id); in AnalyzeDescriptorReference() 292 ref->var_id = ref->ptr_id; in AnalyzeDescriptorReference() [all …]
|
D | amd_ext_to_khr.cpp | 229 uint32_t var_id = in ReplaceSwizzleInvocations() local 231 assert(var_id != 0 && "Could not get SubgroupLocalInvocationId variable."); in ReplaceSwizzleInvocations() 232 Instruction* var_inst = ctx->get_def_use_mgr()->GetDef(var_id); in ReplaceSwizzleInvocations() 237 Instruction* id = ir_builder.AddLoad(uint_type_id, var_id); in ReplaceSwizzleInvocations() 351 uint32_t var_id = in ReplaceSwizzleInvocationsMasked() local 354 assert(var_id != 0 && "Could not get SubgroupLocalInvocationId variable."); in ReplaceSwizzleInvocationsMasked() 355 Instruction* var_inst = ctx->get_def_use_mgr()->GetDef(var_id); in ReplaceSwizzleInvocationsMasked() 360 Instruction* id = ir_builder.AddLoad(uint_type_id, var_id); in ReplaceSwizzleInvocationsMasked() 423 uint32_t var_id = in ReplaceWriteInvocation() local 427 assert(var_id != 0 && "Could not get SubgroupLocalInvocationId variable."); in ReplaceWriteInvocation() [all …]
|
D | ir_context.cpp | 766 void IRContext::AddVarToEntryPoints(uint32_t var_id) { in AddVarToEntryPoints() argument 770 e.ForEachInOperand([&ocnt, &found, &var_id](const uint32_t* idp) { in AddVarToEntryPoints() 772 if (*idp == var_id) found = true; in AddVarToEntryPoints() 777 e.AddOperand({SPV_OPERAND_TYPE_ID, {var_id}}); in AddVarToEntryPoints() 790 uint32_t var_id = FindBuiltinInputVar(builtin); in GetBuiltinInputVarId() local 791 if (var_id == 0) { in GetBuiltinInputVarId() 844 var_id = TakeNextId(); in GetBuiltinInputVarId() 846 new Instruction(this, SpvOpVariable, varTyPtrId, var_id, in GetBuiltinInputVarId() 851 get_decoration_mgr()->AddDecorationVal(var_id, SpvDecorationBuiltIn, in GetBuiltinInputVarId() 853 AddVarToEntryPoints(var_id); in GetBuiltinInputVarId() [all …]
|
D | debug_info_manager.cpp | 113 void DebugInfoManager::RegisterDbgDeclare(uint32_t var_id, in RegisterDbgDeclare() argument 119 auto dbg_decl_itr = var_id_to_dbg_decl_.find(var_id); in RegisterDbgDeclare() 121 var_id_to_dbg_decl_[var_id] = {dbg_declare}; in RegisterDbgDeclare() 552 uint32_t var_id = in GetVariableIdOfDebugValueUsedForDeclare() local 560 auto* var = context()->get_def_use_mgr()->GetDef(var_id); in GetVariableIdOfDebugValueUsedForDeclare() 564 return var_id; in GetVariableIdOfDebugValueUsedForDeclare() 646 uint32_t var_id = in AnalyzeDebugInst() local 648 RegisterDbgDeclare(var_id, inst); in AnalyzeDebugInst() 651 if (uint32_t var_id = GetVariableIdOfDebugValueUsedForDeclare(inst)) { in AnalyzeDebugInst() local 652 RegisterDbgDeclare(var_id, inst); in AnalyzeDebugInst()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | ssa_rewrite_pass.cpp | 93 SSARewriter::PhiCandidate& SSARewriter::CreatePhiCandidate(uint32_t var_id, in CreatePhiCandidate() argument 98 phi_result_id, PhiCandidate(var_id, phi_result_id, bb)); in CreatePhiCandidate() 119 WriteVariable(phi_to_remove.var_id(), bb, repl_id); in ReplacePhiUsersWith() 210 ? GetReachingDef(phi_candidate->var_id(), pred_bb) in AddPhiOperands() 246 uint32_t SSARewriter::GetValueAtBlock(uint32_t var_id, BasicBlock* bb) { in GetValueAtBlock() argument 251 const auto& var_it = current_defs.find(var_id); in GetValueAtBlock() 259 uint32_t SSARewriter::GetReachingDef(uint32_t var_id, BasicBlock* bb) { in GetReachingDef() argument 261 uint32_t val_id = GetValueAtBlock(var_id, bb); in GetReachingDef() 269 val_id = GetReachingDef(var_id, pass_->cfg()->block(predecessors[0])); in GetReachingDef() 274 PhiCandidate& phi_candidate = CreatePhiCandidate(var_id, bb); in GetReachingDef() [all …]
|
D | ssa_rewrite_pass.h | 64 uint32_t var_id() const { return var_id_; } in var_id() function 188 void WriteVariable(uint32_t var_id, BasicBlock* bb, uint32_t val_id) { in WriteVariable() argument 189 defs_at_block_[bb][var_id] = val_id; in WriteVariable() 197 uint32_t GetValueAtBlock(uint32_t var_id, BasicBlock* bb); 217 uint32_t GetReachingDef(uint32_t var_id, BasicBlock* bb); 235 PhiCandidate& CreatePhiCandidate(uint32_t var_id, BasicBlock* bb);
|
D | local_single_store_elim_pass.cpp | 144 uint32_t var_id = var_inst->result_id(); in ProcessVariable() local 146 context()->get_debug_info_mgr()->IsVariableDebugDeclared(var_id)) { in ProcessVariable() 151 modified |= RewriteDebugDeclares(store_inst, var_id); in ProcessVariable() 159 uint32_t var_id) { in RewriteDebugDeclares() argument 164 store_inst, var_id, value_id, store_inst, &invisible_decls); in RewriteDebugDeclares() 183 modified |= context()->get_debug_info_mgr()->KillDebugDeclares(var_id); in RewriteDebugDeclares()
|
D | inst_bindless_check_pass.cpp | 50 uint32_t var_id, InstructionBuilder* builder) { in GenDebugReadLength() argument 52 var2desc_set_[var_id] + kDebugInputBindlessOffsetLengths; in GenDebugReadLength() 54 uint32_t binding_idx_id = builder->GetUintConstantId(var2binding_[var_id]); in GenDebugReadLength() 58 uint32_t InstBindlessCheckPass::GenDebugReadInit(uint32_t var_id, in GenDebugReadInit() argument 61 uint32_t binding_idx_id = builder->GetUintConstantId(var2binding_[var_id]); in GenDebugReadInit() 68 builder->GetUintConstantId(var2desc_set_[var_id] + 1); in GenDebugReadInit() 75 builder->GetUintConstantId(var2desc_set_[var_id]); in GenDebugReadInit() 202 ref->var_id = ptr_inst->GetSingleWordInOperand(kSpvAccessChainBaseIdInIdx); in AnalyzeDescriptorReference() 203 Instruction* var_inst = get_def_use_mgr()->GetDef(ref->var_id); in AnalyzeDescriptorReference() 262 ref->var_id = ref->ptr_id; in AnalyzeDescriptorReference() [all …]
|
D | amd_ext_to_khr.cpp | 229 uint32_t var_id = in ReplaceSwizzleInvocations() local 231 assert(var_id != 0 && "Could not get SubgroupLocalInvocationId variable."); in ReplaceSwizzleInvocations() 232 Instruction* var_inst = ctx->get_def_use_mgr()->GetDef(var_id); in ReplaceSwizzleInvocations() 237 Instruction* id = ir_builder.AddLoad(uint_type_id, var_id); in ReplaceSwizzleInvocations() 351 uint32_t var_id = in ReplaceSwizzleInvocationsMasked() local 354 assert(var_id != 0 && "Could not get SubgroupLocalInvocationId variable."); in ReplaceSwizzleInvocationsMasked() 355 Instruction* var_inst = ctx->get_def_use_mgr()->GetDef(var_id); in ReplaceSwizzleInvocationsMasked() 360 Instruction* id = ir_builder.AddLoad(uint_type_id, var_id); in ReplaceSwizzleInvocationsMasked() 423 uint32_t var_id = in ReplaceWriteInvocation() local 427 assert(var_id != 0 && "Could not get SubgroupLocalInvocationId variable."); in ReplaceWriteInvocation() [all …]
|
D | ir_context.cpp | 770 void IRContext::AddVarToEntryPoints(uint32_t var_id) { in AddVarToEntryPoints() argument 774 e.ForEachInOperand([&ocnt, &found, &var_id](const uint32_t* idp) { in AddVarToEntryPoints() 776 if (*idp == var_id) found = true; in AddVarToEntryPoints() 781 e.AddOperand({SPV_OPERAND_TYPE_ID, {var_id}}); in AddVarToEntryPoints() 794 uint32_t var_id = FindBuiltinInputVar(builtin); in GetBuiltinInputVarId() local 795 if (var_id == 0) { in GetBuiltinInputVarId() 848 var_id = TakeNextId(); in GetBuiltinInputVarId() 850 new Instruction(this, SpvOpVariable, varTyPtrId, var_id, in GetBuiltinInputVarId() 855 get_decoration_mgr()->AddDecorationVal(var_id, SpvDecorationBuiltIn, in GetBuiltinInputVarId() 857 AddVarToEntryPoints(var_id); in GetBuiltinInputVarId() [all …]
|
/external/mesa3d/src/gallium/drivers/zink/nir_to_spirv/ |
D | nir_to_spirv.c | 266 spirv_builder_emit_builtin(&ctx->builder, var_id, SpvBuiltIn##BUILTIN); \ 277 SpvId var_id = spirv_builder_emit_var(&ctx->builder, pointer_type, in emit_input() local 281 spirv_builder_emit_name(&ctx->builder, var_id, var->name); in emit_input() 285 spirv_builder_emit_location(&ctx->builder, var_id, in emit_input() 300 spirv_builder_emit_location(&ctx->builder, var_id, slot); in emit_input() 303 spirv_builder_emit_decoration(&ctx->builder, var_id, SpvDecorationCentroid); in emit_input() 305 spirv_builder_emit_decoration(&ctx->builder, var_id, SpvDecorationSample); in emit_input() 319 spirv_builder_emit_builtin(&ctx->builder, var_id, SpvBuiltInClipDistance); in emit_input() 324 spirv_builder_emit_location(&ctx->builder, var_id, slot); in emit_input() 329 spirv_builder_emit_component(&ctx->builder, var_id, in emit_input() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | validate_decorations.cpp | 81 bool isBuiltInVar(uint32_t var_id, ValidationState_t& vstate) { in isBuiltInVar() argument 82 const auto& decorations = vstate.id_decorations(var_id); in isBuiltInVar() 682 spv_result_t CheckBuiltInVariable(uint32_t var_id, ValidationState_t& vstate) { in CheckBuiltInVariable() argument 683 const auto& decorations = vstate.id_decorations(var_id); in CheckBuiltInVariable() 688 return vstate.diag(SPV_ERROR_INVALID_ID, vstate.FindDef(var_id)) in CheckBuiltInVariable() 689 << "A BuiltIn variable (id " << var_id in CheckBuiltInVariable() 911 const auto var_id = inst.id(); in CheckDecorationsOfBuffers() local 925 auto entry_points = vstate.EntryPointReferences(var_id); in CheckDecorationsOfBuffers() 929 return vstate.diag(SPV_ERROR_INVALID_ID, vstate.FindDef(var_id)) in CheckDecorationsOfBuffers() 941 auto entry_points = vstate.EntryPointReferences(var_id); in CheckDecorationsOfBuffers() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_decorations.cpp | 81 bool isBuiltInVar(uint32_t var_id, ValidationState_t& vstate) { in isBuiltInVar() argument 82 const auto& decorations = vstate.id_decorations(var_id); in isBuiltInVar() 680 spv_result_t CheckBuiltInVariable(uint32_t var_id, ValidationState_t& vstate) { in CheckBuiltInVariable() argument 681 const auto& decorations = vstate.id_decorations(var_id); in CheckBuiltInVariable() 686 return vstate.diag(SPV_ERROR_INVALID_ID, vstate.FindDef(var_id)) in CheckBuiltInVariable() 687 << "A BuiltIn variable (id " << var_id in CheckBuiltInVariable() 872 const auto var_id = inst.id(); in CheckDecorationsOfBuffers() local 886 auto entry_points = vstate.EntryPointReferences(var_id); in CheckDecorationsOfBuffers() 890 return vstate.diag(SPV_ERROR_INVALID_ID, vstate.FindDef(var_id)) in CheckDecorationsOfBuffers() 902 auto entry_points = vstate.EntryPointReferences(var_id); in CheckDecorationsOfBuffers() [all …]
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/ |
D | validate_decorations.cpp | 81 bool isBuiltInVar(uint32_t var_id, ValidationState_t& vstate) { in isBuiltInVar() argument 82 const auto& decorations = vstate.id_decorations(var_id); in isBuiltInVar() 682 spv_result_t CheckBuiltInVariable(uint32_t var_id, ValidationState_t& vstate) { in CheckBuiltInVariable() argument 683 const auto& decorations = vstate.id_decorations(var_id); in CheckBuiltInVariable() 688 return vstate.diag(SPV_ERROR_INVALID_ID, vstate.FindDef(var_id)) in CheckBuiltInVariable() 689 << "A BuiltIn variable (id " << var_id in CheckBuiltInVariable() 911 const auto var_id = inst.id(); in CheckDecorationsOfBuffers() local 925 auto entry_points = vstate.EntryPointReferences(var_id); in CheckDecorationsOfBuffers() 929 return vstate.diag(SPV_ERROR_INVALID_ID, vstate.FindDef(var_id)) in CheckDecorationsOfBuffers() 941 auto entry_points = vstate.EntryPointReferences(var_id); in CheckDecorationsOfBuffers() [all …]
|
/external/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
D | SymbolFileNativePDB.h | 206 lldb::VariableSP GetOrCreateGlobalVariable(PdbGlobalSymId var_id); 209 PdbCompilandSymId var_id, 217 PdbCompilandSymId var_id, bool is_param); 222 lldb::VariableSP CreateGlobalVariable(PdbGlobalSymId var_id); 223 lldb::VariableSP CreateConstantSymbol(PdbGlobalSymId var_id,
|