Home
last modified time | relevance | path

Searched refs:BD (Results 1 – 25 of 183) sorted by relevance

12345678

/openbsd/src/gnu/llvm/llvm/tools/bugpoint/
DCrashDebugger.cpp75 BugDriver &BD; member in llvm::ReducePassList
78 ReducePassList(BugDriver &bd) : BD(bd) {} in ReducePassList()
96 if (BD.runPasses(BD.getProgram(), Prefix, PrefixOutput)) in doTest()
99 OrigProgram = std::move(BD.Program); in doTest()
101 BD.Program = parseInputFile(PrefixOutput, BD.getContext()); in doTest()
102 if (BD.Program == nullptr) { in doTest()
103 errs() << BD.getToolName() << ": Error reading bitcode file '" in doTest()
113 if (BD.runPasses(BD.getProgram(), Suffix)) in doTest()
118 BD.Program = std::move(OrigProgram); in doTest()
129 BugDriver &BD; member in __anon2c3a25530211::ReduceCrashingGlobalInitializers
[all …]
DMiscompilation.cpp47 BugDriver &BD; member in __anone45173650111::ReduceMiscompilingPasses
50 ReduceMiscompilingPasses(BugDriver &bd) : BD(bd) {} in ReduceMiscompilingPasses()
69 if (BD.runPasses(BD.getProgram(), Suffix, BitcodeResult, false /*delete*/, in doTest()
73 BD.setPassesToRun(Suffix); in doTest()
74 BD.EmitProgressBitcode(BD.getProgram(), "pass-error", false); in doTest()
76 if (Error E = BD.debugOptimizerCrash()) in doTest()
82 Expected<bool> Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", in doTest()
89 errs() << BD.getToolName() << ": I'm confused: the test fails when " in doTest()
111 if (BD.runPasses(BD.getProgram(), Prefix, BitcodeResult, false /*delete*/, in doTest()
115 BD.setPassesToRun(Prefix); in doTest()
[all …]
/openbsd/src/gnu/llvm/clang/include/clang/Analysis/
DAnalysisDeclContext.h174 getReferencedBlockVars(const BlockDecl *BD);
188 const BlockDecl *BD, const void *Data);
356 const BlockDecl *BD; variable
362 const LocationContext *ParentLC, const BlockDecl *BD, in BlockInvocationContext() argument
364 : LocationContext(Block, ADC, ParentLC, ID), BD(BD), Data(Data) {} in BlockInvocationContext()
369 const BlockDecl *getBlockDecl() const { return BD; } in getBlockDecl()
376 const LocationContext *ParentLC, const BlockDecl *BD, in Profile() argument
378 ProfileCommon(ID, Block, ADC, ParentLC, BD); in Profile()
419 const BlockDecl *BD, const void *Data);
/openbsd/src/gnu/llvm/clang/lib/Analysis/
DAnalysisDeclContext.cpp118 } else if (const auto *BD = dyn_cast<BlockDecl>(D)) in getBody() local
119 return BD->getBody(); in getBody()
151 if (const auto *BD = dyn_cast<BlockDecl>(D)) { in getSelfDecl() local
153 for (const auto &I : BD->captures()) { in getSelfDecl()
319 const LocationContext *ParentLC, const BlockDecl *BD, const void *Data) { in getBlockInvocationContext() argument
321 BD, Data); in getBlockInvocationContext()
420 Profile(ID, getAnalysisDeclContext(), getParent(), BD, Data); in Profile()
444 const BlockDecl *BD, const void *Data) { in getBlockInvocationContext() argument
446 BlockInvocationContext::Profile(ID, ADC, ParentLC, BD, Data); in getBlockInvocationContext()
452 L = new BlockInvocationContext(ADC, ParentLC, BD, Data, ++NewID); in getBlockInvocationContext()
[all …]
DLiveVariables.cpp74 for (const BindingDecl *BD : DD->bindings()) in isLive() local
75 alive |= liveBindings.contains(BD); in isLive()
350 if (const BindingDecl* BD = dyn_cast<BindingDecl>(D)) { in VisitBinaryOperator() local
351 Killed = !BD->getType()->isReferenceType(); in VisitBinaryOperator()
353 if (const auto *HV = BD->getHoldingVar()) in VisitBinaryOperator()
356 val.liveBindings = LV.BSetFact.remove(val.liveBindings, BD); in VisitBinaryOperator()
383 if (const auto *BD = dyn_cast<BindingDecl>(D)) { in VisitDeclRefExpr() local
385 if (const auto *HV = BD->getHoldingVar()) in VisitDeclRefExpr()
388 val.liveBindings = LV.BSetFact.add(val.liveBindings, BD); in VisitDeclRefExpr()
399 for (const auto *BD : DD->bindings()) { in VisitDeclStmt() local
[all …]
/openbsd/src/gnu/llvm/clang/lib/AST/Interp/
DProgram.cpp240 auto GetBaseDesc = [this](const RecordDecl *BD, Record *BR) -> Descriptor * { in getOrCreateRecord() argument
243 return allocateDescriptor(BD, BR, std::nullopt, /*isConst=*/false, in getOrCreateRecord()
256 const RecordDecl *BD = Spec.getType()->castAs<RecordType>()->getDecl(); in getOrCreateRecord() local
257 Record *BR = getOrCreateRecord(BD); in getOrCreateRecord()
258 if (Descriptor *Desc = GetBaseDesc(BD, BR)) { in getOrCreateRecord()
260 Bases.push_back({BD, BaseSize, Desc, BR}); in getOrCreateRecord()
268 const RecordDecl *BD = Spec.getType()->castAs<RecordType>()->getDecl(); in getOrCreateRecord() local
269 Record *BR = getOrCreateRecord(BD); in getOrCreateRecord()
271 if (Descriptor *Desc = GetBaseDesc(BD, BR)) { in getOrCreateRecord()
273 VirtBases.push_back({BD, VirtSize, Desc, BR}); in getOrCreateRecord()
/openbsd/src/gnu/llvm/clang/lib/AST/
DMangle.cpp38 const BlockDecl *BD, in mangleFunctionBlock() argument
40 unsigned discriminator = Context.getBlockId(BD, true); in mangleFunctionBlock()
254 void MangleContext::mangleGlobalBlock(const BlockDecl *BD, in mangleGlobalBlock() argument
257 unsigned discriminator = getBlockId(BD, false); in mangleGlobalBlock()
272 CXXCtorType CT, const BlockDecl *BD, in mangleCtorBlock() argument
277 mangleFunctionBlock(*this, Buffer, BD, ResStream); in mangleCtorBlock()
281 CXXDtorType DT, const BlockDecl *BD, in mangleDtorBlock() argument
286 mangleFunctionBlock(*this, Buffer, BD, ResStream); in mangleDtorBlock()
289 void MangleContext::mangleBlock(const DeclContext *DC, const BlockDecl *BD, in mangleBlock() argument
306 mangleCtorBlock(CD, /*CT*/ Ctor_Complete, BD, Out); in mangleBlock()
[all …]
/openbsd/src/sys/arch/powerpc64/powerpc64/
Ddb_disasm.c669 int BD; in disasm_process_field() local
670 BD = extract_field(instr, 29, 14); in disasm_process_field()
671 BD = BD << 2; in disasm_process_field()
672 if (BD & 0x00008000) { in disasm_process_field()
673 BD |= ~0x00007fff; in disasm_process_field()
677 BD = addr + BD; in disasm_process_field()
679 db_find_sym_and_offset(BD, &name, &offset); in disasm_process_field()
683 "0x%x (%s)", BD, name); in disasm_process_field()
687 "0x%x (%s+0x%lx)", BD, name, offset); in disasm_process_field()
691 snprintf(lbuf, sizeof (lbuf), "0x%x", BD); in disasm_process_field()
/openbsd/src/sys/arch/powerpc/ddb/
Ddb_disasm.c669 int BD; in disasm_process_field() local
670 BD = extract_field(instr, 29, 14); in disasm_process_field()
671 BD = BD << 2; in disasm_process_field()
672 if (BD & 0x00008000) { in disasm_process_field()
673 BD |= ~0x00007fff; in disasm_process_field()
677 BD = addr + BD; in disasm_process_field()
679 db_find_sym_and_offset(BD, &name, &offset); in disasm_process_field()
683 "0x%x (%s)", BD, name); in disasm_process_field()
687 "0x%x (%s+0x%lx)", BD, name, offset); in disasm_process_field()
691 snprintf(lbuf, sizeof (lbuf), "0x%x", BD); in disasm_process_field()
/openbsd/src/gnu/llvm/clang/include/clang/AST/
DMangle.h84 unsigned getBlockId(const BlockDecl *BD, bool Local) { in getBlockId() argument
88 Result = BlockIds.insert(std::make_pair(BD, BlockIds.size())); in getBlockId()
147 void mangleGlobalBlock(const BlockDecl *BD,
151 const BlockDecl *BD, raw_ostream &Out);
153 const BlockDecl *BD, raw_ostream &Out);
154 void mangleBlock(const DeclContext *DC, const BlockDecl *BD,
/openbsd/src/regress/usr.bin/mandoc/mdoc/Bd/
Dbroken.out_ascii1 BD-BROKEN(1) General Commands Manual BD-BROKEN(1)
Dbreak.out_ascii1 BD-BREAK(1) General Commands Manual BD-BREAK(1)
Dunclosed.out_ascii1 BD-UNCLOSED(1) General Commands Manual BD-UNCLOSED(1)
Doffset-neg.out_ascii1 BD-INDENT(1) General Commands Manual BD-INDENT(1)
Dempty.out_ascii1 BD-EMPTY(1) General Commands Manual BD-EMPTY(1)
DbeforeNAME.out_ascii1 BD-BEFORENAME(1) General Commands Manual BD-BEFORENAME(1)
Dcentered.out_ascii1 BD-CENTERED(1) General Commands Manual BD-CENTERED(1)
Dspacing.out_ascii1 BD-SPACING(1) General Commands Manual BD-SPACING(1)
Dparagraph.out_ascii1 BD-PARAGRAPH(1) General Commands Manual BD-PARAGRAPH(1)
Dnested.out_ascii1 BD-NESTED(1) General Commands Manual BD-NESTED(1)
Dnf.out_ascii1 BD-NF(1) General Commands Manual BD-NF(1)
Doffset-empty.out_ascii1 BD-OFFSET-EMPTY(1) General Commands Manual BD-OFFSET-EMPTY(1)
Dbadargs.out_ascii1 BD-BADARGS(1) General Commands Manual BD-BADARGS(1)
Dblank.out_ascii1 BD-BLANK(1) General Commands Manual BD-BLANK(1)
/openbsd/src/gnu/llvm/clang/docs/
DClangPlugins.rst140 $ export BD=/path/to/build/directory
141 $ make -C $BD CallSuperAttr
142 $ clang++ -fplugin=$BD/lib/CallSuperAttr.so \
175 $ export BD=/path/to/build/directory
176 $ (cd $BD && make PrintFunctionNames )
179 -I$BD/tools/clang/include -Itools/clang/include -I$BD/include -Iinclude \
181 -Xclang -load -Xclang $BD/lib/PrintFunctionNames.so -Xclang \

12345678