/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Linker/ |
D | LinkModulesTest.cpp | 48 Constant *SwitchCase1BA = BlockAddress::get(SwitchCase1BB); in SetUp() 51 Constant *SwitchCase2BA = BlockAddress::get(SwitchCase2BB); in SetUp() 79 TEST_F(LinkModuleTest, BlockAddress) { in TEST_F() argument 117 ASSERT_TRUE(isa<BlockAddress>(Elem)); in TEST_F() 118 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(), in TEST_F() 120 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(), in TEST_F() 124 ASSERT_TRUE(isa<BlockAddress>(Elem)); in TEST_F() 125 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(), in TEST_F() 127 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(), in TEST_F()
|
/external/llvm/unittests/Linker/ |
D | LinkModulesTest.cpp | 48 Constant *SwitchCase1BA = BlockAddress::get(SwitchCase1BB); in SetUp() 51 Constant *SwitchCase2BA = BlockAddress::get(SwitchCase2BB); in SetUp() 79 TEST_F(LinkModuleTest, BlockAddress) { in TEST_F() argument 117 ASSERT_TRUE(isa<BlockAddress>(Elem)); in TEST_F() 118 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(), in TEST_F() 120 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(), in TEST_F() 124 ASSERT_TRUE(isa<BlockAddress>(Elem)); in TEST_F() 125 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(), in TEST_F() 127 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(), in TEST_F()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Constants.h | 545 class BlockAddress : public Constant { 548 BlockAddress(Function *F, BasicBlock *BB); 551 static BlockAddress *get(Function *F, BasicBlock *BB); 555 static BlockAddress *get(BasicBlock *BB); 567 static inline bool classof(const BlockAddress *) { return true; } 574 struct OperandTraits<BlockAddress> : 575 public FixedNumOperandTraits<BlockAddress, 2> { 578 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(BlockAddress, Value)
|
D | BasicBlock.h | 28 class BlockAddress; variable 72 friend class BlockAddress;
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineModuleInfo.h | 55 class BlockAddress; variable 69 const BlockAddress *RecoverBA; 342 const BlockAddress *RecoverLabel);
|
D | MachineOperand.h | 22 class BlockAddress; variable 177 const BlockAddress *BA; // For MO_BlockAddress. 441 const BlockAddress *getBlockAddress() const { in getBlockAddress() 682 static MachineOperand CreateBA(const BlockAddress *BA, int64_t Offset,
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | MachineOperand.h | 22 class BlockAddress; variable 149 const BlockAddress *BA; // For MO_BlockAddress. 391 const BlockAddress *getBlockAddress() const { in getBlockAddress() 552 static MachineOperand CreateBA(const BlockAddress *BA,
|
D | AsmPrinter.h | 23 class BlockAddress; variable 309 MCSymbol *GetBlockAddressSymbol(const BlockAddress *BA) const;
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | ValueMapper.cpp | 95 if (BlockAddress *BA = dyn_cast<BlockAddress>(C)) { in MapValue() 100 return VM[V] = BlockAddress::get(F, BB ? BB : BA->getBasicBlock()); in MapValue()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Constants.h | 836 class BlockAddress final : public Constant { 839 BlockAddress(Function *F, BasicBlock *BB); 848 static BlockAddress *get(Function *F, BasicBlock *BB); 852 static BlockAddress *get(BasicBlock *BB); 857 static BlockAddress *lookup(const BasicBlock *BB); 872 struct OperandTraits<BlockAddress> : 873 public FixedNumOperandTraits<BlockAddress, 2> { 876 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(BlockAddress, Value)
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 786 class BlockAddress final : public Constant { 789 BlockAddress(Function *F, BasicBlock *BB); 797 static BlockAddress *get(Function *F, BasicBlock *BB); 801 static BlockAddress *get(BasicBlock *BB); 806 static BlockAddress *lookup(const BasicBlock *BB); 821 struct OperandTraits<BlockAddress> : 822 public FixedNumOperandTraits<BlockAddress, 2> { 825 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(BlockAddress, Value)
|
D | BasicBlock.h | 30 class BlockAddress; variable 54 friend class BlockAddress;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | IndirectBrExpandPass.cpp | 125 return isa<BlockAddress>(U.getUser()); in runOnFunction() 136 auto *BA = cast<BlockAddress>(BlockAddressUseIt->getUser()); in runOnFunction()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Constants.cpp | 244 if (const BlockAddress *BA = dyn_cast<BlockAddress>(this)) in getRelocationInfo() 258 isa<BlockAddress>(LHS->getOperand(0)) && in getRelocationInfo() 259 isa<BlockAddress>(RHS->getOperand(0)) && in getRelocationInfo() 260 cast<BlockAddress>(LHS->getOperand(0))->getFunction() == in getRelocationInfo() 261 cast<BlockAddress>(RHS->getOperand(0))->getFunction()) in getRelocationInfo() 1138 BlockAddress *BlockAddress::get(BasicBlock *BB) { in get() 1143 BlockAddress *BlockAddress::get(Function *F, BasicBlock *BB) { in get() 1144 BlockAddress *&BA = in get() 1147 BA = new BlockAddress(F, BB); in get() 1153 BlockAddress::BlockAddress(Function *F, BasicBlock *BB) in BlockAddress() function in BlockAddress [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMConstantPoolValue.h | 23 class BlockAddress; variable 146 const BlockAddress *getBlockAddress() const;
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 421 if (const BlockAddress *BA = dyn_cast<BlockAddress>(this)) in needsRelocation() 434 isa<BlockAddress>(LHS->getOperand(0)) && in needsRelocation() 435 isa<BlockAddress>(RHS->getOperand(0)) && in needsRelocation() 436 cast<BlockAddress>(LHS->getOperand(0))->getFunction() == in needsRelocation() 437 cast<BlockAddress>(RHS->getOperand(0))->getFunction()) in needsRelocation() 1356 BlockAddress *BlockAddress::get(BasicBlock *BB) { in get() 1361 BlockAddress *BlockAddress::get(Function *F, BasicBlock *BB) { in get() 1362 BlockAddress *&BA = in get() 1365 BA = new BlockAddress(F, BB); in get() 1371 BlockAddress::BlockAddress(Function *F, BasicBlock *BB) in BlockAddress() function in BlockAddress [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Constants.cpp | 492 if (const BlockAddress *BA = dyn_cast<BlockAddress>(this)) in needsRelocation() 505 isa<BlockAddress>(LHS->getOperand(0)) && in needsRelocation() 506 isa<BlockAddress>(RHS->getOperand(0)) && in needsRelocation() 507 cast<BlockAddress>(LHS->getOperand(0))->getFunction() == in needsRelocation() 508 cast<BlockAddress>(RHS->getOperand(0))->getFunction()) in needsRelocation() 1406 BlockAddress *BlockAddress::get(BasicBlock *BB) { in get() 1411 BlockAddress *BlockAddress::get(Function *F, BasicBlock *BB) { in get() 1412 BlockAddress *&BA = in get() 1415 BA = new BlockAddress(F, BB); in get() 1421 BlockAddress::BlockAddress(Function *F, BasicBlock *BB) in BlockAddress() function in BlockAddress [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | MachineOperand.h | 25 class BlockAddress; variable 189 const BlockAddress *BA; // For MO_BlockAddress. 557 const BlockAddress *getBlockAddress() const { in getBlockAddress() 831 static MachineOperand CreateBA(const BlockAddress *BA, int64_t Offset,
|
/external/llvm/lib/Target/ARM/ |
D | ARMConstantPoolValue.h | 24 class BlockAddress; variable 163 const BlockAddress *getBlockAddress() const;
|
D | ARMConstantPoolValue.cpp | 166 const BlockAddress *ARMConstantPoolConstant::getBlockAddress() const { in getBlockAddress() 167 return dyn_cast_or_null<BlockAddress>(CVal); in getBlockAddress()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GlobalDCE/ |
D | deadblockaddr.ll | 4 ; so that a dead BlockAddress reference to foo won't prevent other passes
|
/external/llvm/test/Transforms/GlobalDCE/ |
D | deadblockaddr.ll | 4 ; so that a dead BlockAddress reference to foo won't prevent other passes
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneFunction.cpp | 152 Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(OldFunc), in CloneFunctionInto() 154 VMap[OldBBAddr] = BlockAddress::get(NewFunc, CBB); in CloneFunctionInto() 269 Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(OldFunc), in CloneBlock() 271 VMap[OldBBAddr] = BlockAddress::get(NewFunc, NewBB); in CloneBlock()
|
D | SplitModule.cpp | 117 BlockAddress *BA = BlockAddress::lookup(&BB); in findPartitions()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | ValueMapper.cpp | 61 DelayedBasicBlock(const BlockAddress &Old) in DelayedBasicBlock() 182 Value *mapBlockAddress(const BlockAddress &BA); 416 if (BlockAddress *BA = dyn_cast<BlockAddress>(C)) in mapValue() 491 Value *Mapper::mapBlockAddress(const BlockAddress &BA) { in mapBlockAddress() 505 return getVM()[&BA] = BlockAddress::get(F, BB ? BB : BA.getBasicBlock()); in mapBlockAddress()
|