/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 | 54 class BlockAddress; variable 68 const BlockAddress *RecoverBA; 341 const BlockAddress *RecoverLabel);
|
D | MachineOperand.h | 22 class BlockAddress; variable 177 const BlockAddress *BA; // For MO_BlockAddress. 441 const BlockAddress *getBlockAddress() const { in getBlockAddress() 673 static MachineOperand CreateBA(const BlockAddress *BA, int64_t Offset,
|
D | AsmPrinter.h | 29 class BlockAddress; variable 360 MCSymbol *GetBlockAddressSymbol(const BlockAddress *BA) const;
|
D | ISDOpcodes.h | 63 JumpTable, ConstantPool, ExternalSymbol, BlockAddress, enumerator
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 827 class BlockAddress : public Constant { 830 BlockAddress(Function *F, BasicBlock *BB); 838 static BlockAddress *get(Function *F, BasicBlock *BB); 842 static BlockAddress *get(BasicBlock *BB); 848 static BlockAddress *lookup(const BasicBlock *BB); 863 struct OperandTraits<BlockAddress> : 864 public FixedNumOperandTraits<BlockAddress, 2> { 867 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(BlockAddress, Value)
|
D | BasicBlock.h | 30 class BlockAddress; variable 54 friend class BlockAddress;
|
D | Value.def | 62 HANDLE_CONSTANT(BlockAddress)
|
/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/IR/ |
D | Constants.cpp | 437 if (const BlockAddress *BA = dyn_cast<BlockAddress>(this)) in needsRelocation() 450 isa<BlockAddress>(LHS->getOperand(0)) && in needsRelocation() 451 isa<BlockAddress>(RHS->getOperand(0)) && in needsRelocation() 452 cast<BlockAddress>(LHS->getOperand(0))->getFunction() == in needsRelocation() 453 cast<BlockAddress>(RHS->getOperand(0))->getFunction()) in needsRelocation() 1426 BlockAddress *BlockAddress::get(BasicBlock *BB) { in get() 1431 BlockAddress *BlockAddress::get(Function *F, BasicBlock *BB) { in get() 1432 BlockAddress *&BA = in get() 1435 BA = new BlockAddress(F, BB); in get() 1441 BlockAddress::BlockAddress(Function *F, BasicBlock *BB) in BlockAddress() function in BlockAddress [all …]
|
D | BasicBlock.cpp | 76 BlockAddress *BA = cast<BlockAddress>(user_back()); in ~BasicBlock()
|
D | ConstantFold.cpp | 1425 !isa<BlockAddress>(V1)) { in evaluateICmpRelation() 1427 !isa<BlockAddress>(V2)) { in evaluateICmpRelation() 1468 } else if (isa<BlockAddress>(V2)) { in evaluateICmpRelation() 1477 } else if (const BlockAddress *BA = dyn_cast<BlockAddress>(V1)) { in evaluateICmpRelation() 1489 if (const BlockAddress *BA2 = dyn_cast<BlockAddress>(V2)) { in evaluateICmpRelation()
|
/external/llvm/lib/Target/ARM/ |
D | ARMConstantPoolValue.h | 24 class BlockAddress; variable 162 const BlockAddress *getBlockAddress() const;
|
D | ARMConstantPoolValue.cpp | 159 const BlockAddress *ARMConstantPoolConstant::getBlockAddress() const { in getBlockAddress() 160 return dyn_cast_or_null<BlockAddress>(CVal); in getBlockAddress()
|
/external/llvm/lib/Transforms/Utils/ |
D | ValueMapper.cpp | 103 if (BlockAddress *BA = dyn_cast<BlockAddress>(C)) { in MapValue() 108 return VM[V] = BlockAddress::get(F, BB ? BB : BA->getBasicBlock()); in MapValue()
|
D | CloneFunction.cpp | 143 Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(OldFunc), in CloneFunctionInto() 145 VMap[OldBBAddr] = BlockAddress::get(NewFunc, CBB); in CloneFunctionInto() 324 Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(OldFunc), in CloneBlock() 326 VMap[OldBBAddr] = BlockAddress::get(NewFunc, NewBB); in CloneBlock()
|
D | Local.cpp | 247 if (BlockAddress *BA = in ConstantFoldTerminator() 248 dyn_cast<BlockAddress>(IBI->getAddress()->stripPointerCasts())) { in ConstantFoldTerminator() 569 BlockAddress *BA = BlockAddress::get(DestBB); in MergeBasicBlockIntoOnlyPred()
|
/external/llvm/lib/Analysis/ |
D | Lint.cpp | 397 !isa<BlockAddress>(UnderlyingObject), in visitMemoryReference() 403 Assert(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference() 407 Assert(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference() 412 isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
|
/external/llvm/tools/llvm-diff/ |
D | DifferenceEngine.cpp | 389 if (isa<BlockAddress>(L)) in equivalentAsOperands() 390 return Blocks[cast<BlockAddress>(L)->getBasicBlock()] in equivalentAsOperands() 391 == cast<BlockAddress>(R)->getBasicBlock(); in equivalentAsOperands()
|
/external/llvm/unittests/AsmParser/ |
D | AsmParserTest.cpp | 100 ASSERT_TRUE(isa<BlockAddress>(V)); in TEST()
|
/external/llvm/tools/bugpoint/ |
D | ExtractFunction.cpp | 69 if (BlockAddress *BA = dyn_cast<BlockAddress>(V)) { in globalInitUsesExternalBA()
|
/external/llvm/lib/Transforms/IPO/ |
D | IPConstantPropagation.cpp | 93 if (isa<BlockAddress>(UR)) continue; in PropagateConstantsIntoArguments()
|
D | MergeFunctions.cpp | 756 const BlockAddress *LBA = cast<BlockAddress>(L); in cmpConstants() 757 const BlockAddress *RBA = cast<BlockAddress>(R); in cmpConstants()
|
/external/llvm/lib/Target/WebAssembly/ |
D | known_gcc_test_failures.txt | 204 # Cannot select BlockAddress.
|
/external/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 378 return dyn_cast<BlockAddress>(Val->stripPointerCasts()); in getKnownConstant() 700 BlockAddress *BA = BlockAddress::get(BB); in hasAddressTakenAndUsed() 1229 DestBB = cast<BlockAddress>(Val)->getBasicBlock(); in ProcessThreadableEdges()
|