Home | History | Annotate | Download | only in AsmPrinter

Lines Matching defs:Block

224 /// addBlock - Add block data.
227 DIEBlock *Block) {
228 Block->ComputeSize(Asm);
229 DIEBlocks.push_back(Block); // Memoize so we can call the destructor later on.
230 Die->addValue(Attribute, Block->BestForm(), Block);
387 DIEBlock *Block = new (DIEValueAllocator) DIEBlock();
390 addRegisterOp(Block, Location.getReg());
392 addRegisterOffset(Block, Location.getReg(), Location.getOffset());
395 addBlock(Die, Attribute, 0, Block);
406 DIEBlock *Block = new (DIEValueAllocator) DIEBlock();
413 addRegisterOffset(Block, Location.getReg(), DV->getAddrElement(1));
416 addRegisterOp(Block, Location.getReg());
419 addRegisterOffset(Block, Location.getReg(), Location.getOffset());
424 addUInt(Block, 0, dwarf::DW_FORM_data1, dwarf::DW_OP_plus_uconst);
425 addUInt(Block, 0, dwarf::DW_FORM_udata, DV->getAddrElement(++i));
428 addUInt(Block, 0, dwarf::DW_FORM_data1, dwarf::DW_OP_deref);
433 addBlock(Die, Attribute, 0, Block);
492 /// actual Block variable (navigating the Block struct) based on the
538 DIEBlock *Block = new (DIEValueAllocator) DIEBlock();
541 addRegisterOp(Block, Location.getReg());
543 addRegisterOffset(Block, Location.getReg(), Location.getOffset());
548 addUInt(Block, 0, dwarf::DW_FORM_data1, dwarf::DW_OP_deref);
554 addUInt(Block, 0, dwarf::DW_FORM_data1, dwarf::DW_OP_plus_uconst);
555 addUInt(Block, 0, dwarf::DW_FORM_udata, forwardingFieldOffset);
560 addUInt(Block, 0, dwarf::DW_FORM_data1, dwarf::DW_OP_deref);
566 addUInt(Block, 0, dwarf::DW_FORM_data1, dwarf::DW_OP_plus_uconst);
567 addUInt(Block, 0, dwarf::DW_FORM_udata, varFieldOffset);
571 addBlock(Die, Attribute, 0, Block);
591 DIEBlock *Block = new (DIEValueAllocator) DIEBlock();
602 SignedConstant ? addSInt(Block, 0, Form, MO.getImm())
603 : addUInt(Block, 0, Form, MO.getImm());
605 addBlock(Die, dwarf::DW_AT_const_value, 0, Block);
612 DIEBlock *Block = new (DIEValueAllocator) DIEBlock();
627 addUInt(Block, 0, dwarf::DW_FORM_data1,
630 addBlock(Die, dwarf::DW_AT_const_value, 0, Block);
666 DIEBlock *Block = new (DIEValueAllocator) DIEBlock();
681 addUInt(Block, 0, dwarf::DW_FORM_data1, c);
684 addBlock(Die, dwarf::DW_AT_const_value, 0, Block);
1205 DIEBlock *Block = getDIEBlock();
1206 addUInt(Block, 0, dwarf::DW_FORM_data1, dwarf::DW_OP_constu);
1207 addUInt(Block, 0, dwarf::DW_FORM_udata, SP.getVirtualIndex());
1208 addBlock(SPDie, dwarf::DW_AT_vtable_elem_location, 0, Block);
1334 DIEBlock *Block = new (DIEValueAllocator) DIEBlock();
1335 addOpAddress(Block, Asm->Mang->getSymbol(GV.getGlobal()));
1344 addBlock(VariableSpecDIE, dwarf::DW_AT_location, 0, Block);
1350 addBlock(VariableDIE, dwarf::DW_AT_location, 0, Block);
1377 DIEBlock *Block = new (DIEValueAllocator) DIEBlock();
1379 addOpAddress(Block, Asm->Mang->getSymbol(cast<GlobalValue>(Ptr)));
1380 addUInt(Block, 0, dwarf::DW_FORM_data1, dwarf::DW_OP_constu);
1382 addUInt(Block, 0, dwarf::DW_FORM_udata,
1384 addUInt(Block, 0, dwarf::DW_FORM_data1, dwarf::DW_OP_plus);
1385 addBlock(VariableDIE, dwarf::DW_AT_location, 0, Block);