/external/llvm/unittests/Linker/ |
LinkModulesTest.cpp | 48 Constant *SwitchCase1BA = BlockAddress::get(SwitchCase1BB); 51 Constant *SwitchCase2BA = BlockAddress::get(SwitchCase2BB); 79 TEST_F(LinkModuleTest, BlockAddress) { 109 // [i8* blockaddress(@ba_func, %switch.case.1), 110 // i8* blockaddress(@ba_func, %switch.case.2), 117 ASSERT_TRUE(isa<BlockAddress>(Elem)); 118 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(), 120 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(), 124 ASSERT_TRUE(isa<BlockAddress>(Elem)); 125 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction() [all...] |
/external/llvm/include/llvm/IR/ |
BasicBlock.h | 30 class BlockAddress; 54 friend class BlockAddress;
|
Constants.h | 825 /// BlockAddress - The address of a basic block. 827 class BlockAddress : public Constant { 830 BlockAddress(Function *F, BasicBlock *BB); [all...] |
/external/llvm/include/llvm/CodeGen/ |
MachineModuleInfo.h | 54 class BlockAddress; 68 const BlockAddress *RecoverBA; 341 const BlockAddress *RecoverLabel);
|
MachineOperand.h | 22 class BlockAddress; 177 const BlockAddress *BA; // For MO_BlockAddress. 441 const BlockAddress *getBlockAddress() const { 673 static MachineOperand CreateBA(const BlockAddress *BA, int64_t Offset,
|
AsmPrinter.h | 29 class BlockAddress; 358 /// Return the MCSymbol used to satisfy BlockAddress uses of the specified 360 MCSymbol *GetBlockAddressSymbol(const BlockAddress *BA) const;
|
ISDOpcodes.h | 63 JumpTable, ConstantPool, ExternalSymbol, BlockAddress, [all...] |
MachineInstrBuilder.h | 142 const MachineInstrBuilder &addBlockAddress(const BlockAddress *BA,
|
SelectionDAGNodes.h | [all...] |
/external/llvm/lib/Target/ARM/ |
ARMConstantPoolValue.cpp | 81 // external symbols. FIXME: What about blockaddress? 159 const BlockAddress *ARMConstantPoolConstant::getBlockAddress() const { 160 return dyn_cast_or_null<BlockAddress>(CVal);
|
ARMConstantPoolValue.h | 24 class BlockAddress; 162 const BlockAddress *getBlockAddress() const;
|
/external/llvm/unittests/AsmParser/ |
AsmParserTest.cpp | 98 V = parseConstantValue("i8* blockaddress(@test, %entry)", Error, M); 100 ASSERT_TRUE(isa<BlockAddress>(V));
|
/external/llvm/lib/IR/ |
BasicBlock.cpp | 69 // is no indirect branch). Handle these cases by zapping the BlockAddress 72 assert(!use_empty() && "There should be at least one blockaddress!"); 76 BlockAddress *BA = cast<BlockAddress>(user_back());
|
Constants.cpp | 437 if (const BlockAddress *BA = dyn_cast<BlockAddress>(this)) 440 // While raw uses of blockaddress need to be relocated, differences between 450 isa<BlockAddress>(LHS->getOperand(0)) && 451 isa<BlockAddress>(RHS->getOperand(0)) && 452 cast<BlockAddress>(LHS->getOperand(0))->getFunction() == 453 cast<BlockAddress>(RHS->getOperand(0))->getFunction()) [all...] |
ConstantFold.cpp | [all...] |
/external/llvm/lib/Transforms/Utils/ |
ValueMapper.cpp | 103 if (BlockAddress *BA = dyn_cast<BlockAddress>(C)) { 108 return VM[V] = BlockAddress::get(F, BB ? BB : BA->getBasicBlock());
|
CloneFunction.cpp | 140 // implementation, which generates an invalid blockaddress when 143 Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(OldFunc), 145 VMap[OldBBAddr] = BlockAddress::get(NewFunc, CBB); 318 // implementation, which generates an invalid blockaddress when 324 Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(OldFunc), 326 VMap[OldBBAddr] = BlockAddress::get(NewFunc, NewBB); [all...] |
Local.cpp | 246 // indirectbr blockaddress(@F, @BB) -> br label @BB 247 if (BlockAddress *BA = 248 dyn_cast<BlockAddress>(IBI->getAddress()->stripPointerCasts())) { 569 BlockAddress *BA = BlockAddress::get(DestBB); [all...] |
/external/llvm/tools/llvm-diff/ |
DifferenceEngine.cpp | 389 if (isa<BlockAddress>(L)) 390 return Blocks[cast<BlockAddress>(L)->getBasicBlock()] 391 == cast<BlockAddress>(R)->getBasicBlock();
|
/external/llvm/tools/bugpoint/ |
ExtractFunction.cpp | 69 if (BlockAddress *BA = dyn_cast<BlockAddress>(V)) {
|
/external/llvm/lib/Analysis/ |
Lint.cpp | 397 !isa<BlockAddress>(UnderlyingObject), 403 Assert(!isa<BlockAddress>(UnderlyingObject), 407 Assert(!isa<BlockAddress>(UnderlyingObject), 412 isa<BlockAddress>(UnderlyingObject), 413 "Undefined behavior: Branch to non-blockaddress", &I);
|
/external/llvm/lib/Transforms/IPO/ |
IPConstantPropagation.cpp | 92 // Ignore blockaddress uses. 93 if (isa<BlockAddress>(UR)) continue;
|
MergeFunctions.cpp | 756 const BlockAddress *LBA = cast<BlockAddress>(L); 757 const BlockAddress *RBA = cast<BlockAddress>(R); [all...] |
/external/llvm/lib/CodeGen/ |
MachineModuleInfo.cpp | 355 const BlockAddress *RecoverBA) {
|
/external/llvm/lib/Target/MSP430/ |
MSP430ISelDAGToDAG.cpp | 51 const BlockAddress *BlockAddr;
|