/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/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,
|
D | AsmPrinter.h | 29 class BlockAddress; variable 363 MCSymbol *GetBlockAddressSymbol(const BlockAddress *BA) const;
|
/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-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/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/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/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/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/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()
|
D | ValueMapper.cpp | 50 DelayedBasicBlock(const BlockAddress &Old) in DelayedBasicBlock() 170 Value *mapBlockAddress(const BlockAddress &BA); 415 if (BlockAddress *BA = dyn_cast<BlockAddress>(C)) in mapValue() 490 Value *Mapper::mapBlockAddress(const BlockAddress &BA) { in mapBlockAddress() 504 return getVM()[&BA] = BlockAddress::get(F, BB ? BB : BA.getBasicBlock()); in mapBlockAddress()
|
D | Evaluator.cpp | 55 if (C->getNumOperands() == 0 || isa<BlockAddress>(C)) in isSimpleEnoughValueToCommitHelper() 492 if (BlockAddress *BA = dyn_cast<BlockAddress>(Val)) in EvaluateBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SplitModule.cpp | 137 BlockAddress *BA = BlockAddress::lookup(&BB); in findPartitions()
|
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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMConstantPoolValue.h | 27 class BlockAddress; variable 178 const BlockAddress *getBlockAddress() const;
|
D | ARMConstantPoolValue.cpp | 187 const BlockAddress *ARMConstantPoolConstant::getBlockAddress() const { in getBlockAddress() 188 return dyn_cast_or_null<BlockAddress>(CVal); in getBlockAddress()
|
/external/llvm/lib/Target/WebAssembly/ |
D | known_gcc_test_failures.txt | 3 # Computed gotos are not supported (Cannot select BlockAddress/BRIND)
|