Home
last modified time | relevance | path

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

123

/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/include/llvm/CodeGen/
DMachineModuleInfo.h54 class BlockAddress; variable
68 const BlockAddress *RecoverBA;
341 const BlockAddress *RecoverLabel);
DMachineOperand.h22 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,
DAsmPrinter.h29 class BlockAddress; variable
360 MCSymbol *GetBlockAddressSymbol(const BlockAddress *BA) const;
DISDOpcodes.h63 JumpTable, ConstantPool, ExternalSymbol, BlockAddress, enumerator
/external/llvm/include/llvm/IR/
DConstants.h827 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)
DBasicBlock.h30 class BlockAddress; variable
54 friend class BlockAddress;
DValue.def62 HANDLE_CONSTANT(BlockAddress)
/external/llvm/test/Transforms/GlobalDCE/
Ddeadblockaddr.ll4 ; so that a dead BlockAddress reference to foo won't prevent other passes
/external/llvm/lib/IR/
DConstants.cpp437 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 …]
DBasicBlock.cpp76 BlockAddress *BA = cast<BlockAddress>(user_back()); in ~BasicBlock()
DConstantFold.cpp1425 !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/
DARMConstantPoolValue.h24 class BlockAddress; variable
162 const BlockAddress *getBlockAddress() const;
DARMConstantPoolValue.cpp159 const BlockAddress *ARMConstantPoolConstant::getBlockAddress() const { in getBlockAddress()
160 return dyn_cast_or_null<BlockAddress>(CVal); in getBlockAddress()
/external/llvm/lib/Transforms/Utils/
DValueMapper.cpp103 if (BlockAddress *BA = dyn_cast<BlockAddress>(C)) { in MapValue()
108 return VM[V] = BlockAddress::get(F, BB ? BB : BA->getBasicBlock()); in MapValue()
DCloneFunction.cpp143 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()
DLocal.cpp247 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/
DLint.cpp397 !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/
DDifferenceEngine.cpp389 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/
DAsmParserTest.cpp100 ASSERT_TRUE(isa<BlockAddress>(V)); in TEST()
/external/llvm/tools/bugpoint/
DExtractFunction.cpp69 if (BlockAddress *BA = dyn_cast<BlockAddress>(V)) { in globalInitUsesExternalBA()
/external/llvm/lib/Transforms/IPO/
DIPConstantPropagation.cpp93 if (isa<BlockAddress>(UR)) continue; in PropagateConstantsIntoArguments()
DMergeFunctions.cpp756 const BlockAddress *LBA = cast<BlockAddress>(L); in cmpConstants()
757 const BlockAddress *RBA = cast<BlockAddress>(R); in cmpConstants()
/external/llvm/lib/Target/WebAssembly/
Dknown_gcc_test_failures.txt204 # Cannot select BlockAddress.
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp378 return dyn_cast<BlockAddress>(Val->stripPointerCasts()); in getKnownConstant()
700 BlockAddress *BA = BlockAddress::get(BB); in hasAddressTakenAndUsed()
1229 DestBB = cast<BlockAddress>(Val)->getBasicBlock(); in ProcessThreadableEdges()

123