Home
last modified time | relevance | path

Searched refs:BlockAddress (Results 1 – 25 of 257) sorted by relevance

1234567891011

/external/llvm/unittests/Linker/
DLinkModulesTest.cpp48 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-project/llvm/unittests/Linker/
DLinkModulesTest.cpp47 Constant *SwitchCase1BA = BlockAddress::get(SwitchCase1BB); in SetUp()
50 Constant *SwitchCase2BA = BlockAddress::get(SwitchCase2BB); in SetUp()
78 TEST_F(LinkModuleTest, BlockAddress) { in TEST_F() argument
116 ASSERT_TRUE(isa<BlockAddress>(Elem)); in TEST_F()
117 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(), in TEST_F()
119 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(), in TEST_F()
123 ASSERT_TRUE(isa<BlockAddress>(Elem)); in TEST_F()
124 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(), in TEST_F()
126 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(), in TEST_F()
/external/llvm/include/llvm/CodeGen/
DMachineModuleInfo.h55 class BlockAddress; variable
69 const BlockAddress *RecoverBA;
342 const BlockAddress *RecoverLabel);
DMachineOperand.h22 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-10.0/llvm/lib/CodeGen/
DIndirectBrExpandPass.cpp125 return isa<BlockAddress>(U.getUser()); in runOnFunction()
136 auto *BA = cast<BlockAddress>(BlockAddressUseIt->getUser()); in runOnFunction()
/external/llvm-project/llvm/lib/CodeGen/
DIndirectBrExpandPass.cpp125 return isa<BlockAddress>(U.getUser()); in runOnFunction()
136 auto *BA = cast<BlockAddress>(BlockAddressUseIt->getUser()); in runOnFunction()
/external/llvm/include/llvm/IR/
DConstants.h786 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)
DBasicBlock.h30 class BlockAddress; variable
54 friend class BlockAddress;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstants.h840 class BlockAddress final : public Constant {
843 BlockAddress(Function *F, BasicBlock *BB);
852 static BlockAddress *get(Function *F, BasicBlock *BB);
856 static BlockAddress *get(BasicBlock *BB);
861 static BlockAddress *lookup(const BasicBlock *BB);
876 struct OperandTraits<BlockAddress> :
877 public FixedNumOperandTraits<BlockAddress, 2> {
880 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(BlockAddress, Value)
/external/llvm-project/llvm/include/llvm/IR/
DConstants.h849 class BlockAddress final : public Constant {
852 BlockAddress(Function *F, BasicBlock *BB);
861 static BlockAddress *get(Function *F, BasicBlock *BB);
865 static BlockAddress *get(BasicBlock *BB);
870 static BlockAddress *lookup(const BasicBlock *BB);
885 struct OperandTraits<BlockAddress> :
886 public FixedNumOperandTraits<BlockAddress, 2> {
889 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(BlockAddress, Value)
/external/llvm-project/llvm/test/Transforms/GlobalDCE/
Ddeadblockaddr.ll4 ; so that a dead BlockAddress reference to foo won't prevent other passes
/external/llvm/test/Transforms/GlobalDCE/
Ddeadblockaddr.ll4 ; so that a dead BlockAddress reference to foo won't prevent other passes
/external/llvm/lib/Target/ARM/
DARMConstantPoolValue.h24 class BlockAddress; variable
163 const BlockAddress *getBlockAddress() const;
DARMConstantPoolValue.cpp166 const BlockAddress *ARMConstantPoolConstant::getBlockAddress() const { in getBlockAddress()
167 return dyn_cast_or_null<BlockAddress>(CVal); in getBlockAddress()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineOperand.h25 class BlockAddress; variable
193 const BlockAddress *BA; // For MO_BlockAddress.
566 const BlockAddress *getBlockAddress() const { in getBlockAddress()
854 static MachineOperand CreateBA(const BlockAddress *BA, int64_t Offset,
/external/llvm/lib/IR/
DConstants.cpp421 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-10.0/llvm/lib/IR/
DConstants.cpp546 if (const BlockAddress *BA = dyn_cast<BlockAddress>(this)) in needsRelocation()
562 if (isa<BlockAddress>(LHSOp0) && isa<BlockAddress>(RHSOp0) && in needsRelocation()
563 cast<BlockAddress>(LHSOp0)->getFunction() == in needsRelocation()
564 cast<BlockAddress>(RHSOp0)->getFunction()) in needsRelocation()
1528 BlockAddress *BlockAddress::get(BasicBlock *BB) { in get()
1533 BlockAddress *BlockAddress::get(Function *F, BasicBlock *BB) { in get()
1534 BlockAddress *&BA = in get()
1537 BA = new BlockAddress(F, BB); in get()
1543 BlockAddress::BlockAddress(Function *F, BasicBlock *BB) in BlockAddress() function in BlockAddress
1551 BlockAddress *BlockAddress::lookup(const BasicBlock *BB) { in lookup()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DWinCFGuard.cpp55 if (isa<BlockAddress>(FnUser)) in isPossibleIndirectCallTarget()
/external/llvm-project/llvm/lib/Transforms/Utils/
DSplitModule.cpp136 BlockAddress *BA = BlockAddress::lookup(&BB); in findPartitions()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMConstantPoolValue.h26 class BlockAddress; variable
177 const BlockAddress *getBlockAddress() const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSplitModule.cpp136 BlockAddress *BA = BlockAddress::lookup(&BB); in findPartitions()
/external/llvm/lib/Transforms/Utils/
DSplitModule.cpp117 BlockAddress *BA = BlockAddress::lookup(&BB); in findPartitions()
DCloneFunction.cpp152 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()
/external/llvm-project/llvm/lib/Target/ARM/
DARMConstantPoolValue.h26 class BlockAddress; variable
175 const BlockAddress *getBlockAddress() const;
/external/llvm-project/llvm/include/llvm/CodeGen/
DMachineOperand.h25 class BlockAddress; variable
193 const BlockAddress *BA; // For MO_BlockAddress.
566 const BlockAddress *getBlockAddress() const { in getBlockAddress()
864 static MachineOperand CreateBA(const BlockAddress *BA, int64_t Offset,

1234567891011