| /minix3/external/bsd/llvm/dist/llvm/unittests/Linker/ |
| H A D | LinkModulesTest.cpp | 45 Constant *SwitchCase1BA = BlockAddress::get(SwitchCase1BB); in SetUp() 48 Constant *SwitchCase2BA = BlockAddress::get(SwitchCase2BB); in SetUp() 71 TEST_F(LinkModuleTest, BlockAddress) { in TEST_F() argument 111 ASSERT_TRUE(isa<BlockAddress>(Elem)); in TEST_F() 112 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(), in TEST_F() 114 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(), in TEST_F() 118 ASSERT_TRUE(isa<BlockAddress>(Elem)); in TEST_F() 119 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(), in TEST_F() 121 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(), in TEST_F()
|
| /minix3/external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/ |
| H A D | deadblockaddr.ll | 4 ; so that a dead BlockAddress reference to foo won't prevent other passes
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
| H A D | Constants.h | 758 class BlockAddress : public Constant { 761 BlockAddress(Function *F, BasicBlock *BB); 764 static BlockAddress *get(Function *F, BasicBlock *BB); 768 static BlockAddress *get(BasicBlock *BB); 774 static BlockAddress *lookup(const BasicBlock *BB); 792 struct OperandTraits<BlockAddress> : 793 public FixedNumOperandTraits<BlockAddress, 2> { 796 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(BlockAddress, Value)
|
| H A D | BasicBlock.h | 30 class BlockAddress; variable 75 friend class BlockAddress;
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | MachineOperand.h | 22 class BlockAddress; variable 176 const BlockAddress *BA; // For MO_BlockAddress. 438 const BlockAddress *getBlockAddress() const { in getBlockAddress() 662 static MachineOperand CreateBA(const BlockAddress *BA, int64_t Offset,
|
| H A D | AsmPrinter.h | 27 class BlockAddress; variable 331 MCSymbol *GetBlockAddressSymbol(const BlockAddress *BA) const;
|
| H A D | ISDOpcodes.h | 63 JumpTable, ConstantPool, ExternalSymbol, BlockAddress, enumerator
|
| H A D | SelectionDAGNodes.h | 1727 const BlockAddress *BA; 1731 BlockAddressSDNode(unsigned NodeTy, EVT VT, const BlockAddress *ba, 1737 const BlockAddress *getBlockAddress() const { return BA; } 1742 return N->getOpcode() == ISD::BlockAddress ||
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/ARM/ |
| H A D | ARMConstantPoolValue.h | 24 class BlockAddress; variable 165 const BlockAddress *getBlockAddress() const;
|
| H A D | ARMConstantPoolValue.cpp | 160 const BlockAddress *ARMConstantPoolConstant::getBlockAddress() const { in getBlockAddress() 161 return dyn_cast_or_null<BlockAddress>(CVal); in getBlockAddress()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/IR/ |
| H A D | Constants.cpp | 425 if (const BlockAddress *BA = dyn_cast<BlockAddress>(this)) in getRelocationInfo() 439 isa<BlockAddress>(LHS->getOperand(0)) && in getRelocationInfo() 440 isa<BlockAddress>(RHS->getOperand(0)) && in getRelocationInfo() 441 cast<BlockAddress>(LHS->getOperand(0))->getFunction() == in getRelocationInfo() 442 cast<BlockAddress>(RHS->getOperand(0))->getFunction()) in getRelocationInfo() 1465 BlockAddress *BlockAddress::get(BasicBlock *BB) { in get() 1470 BlockAddress *BlockAddress::get(Function *F, BasicBlock *BB) { in get() 1471 BlockAddress *&BA = in get() 1474 BA = new BlockAddress(F, BB); in get() 1480 BlockAddress::BlockAddress(Function *F, BasicBlock *BB) in BlockAddress() function in BlockAddress [all …]
|
| H A D | BasicBlock.cpp | 80 BlockAddress *BA = cast<BlockAddress>(user_back()); in ~BasicBlock()
|
| H A D | ConstantFold.cpp | 1406 !isa<BlockAddress>(V1)) { in evaluateICmpRelation() 1408 !isa<BlockAddress>(V2)) { in evaluateICmpRelation() 1449 } else if (isa<BlockAddress>(V2)) { in evaluateICmpRelation() 1458 } else if (const BlockAddress *BA = dyn_cast<BlockAddress>(V1)) { in evaluateICmpRelation() 1470 if (const BlockAddress *BA2 = dyn_cast<BlockAddress>(V2)) { in evaluateICmpRelation()
|
| H A D | LLVMContextImpl.h | 316 DenseMap<std::pair<const Function *, const BasicBlock *>, BlockAddress *>
|
| H A D | Function.cpp | 841 if (isa<BlockAddress>(FU)) in hasAddressTaken() 860 if (!isa<BlockAddress>(U)) in isDefTriviallyDead()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | CloneFunction.cpp | 136 Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(OldFunc), in CloneFunctionInto() 138 VMap[OldBBAddr] = BlockAddress::get(NewFunc, CBB); in CloneFunctionInto() 306 Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(OldFunc), in CloneBlock() 308 VMap[OldBBAddr] = BlockAddress::get(NewFunc, NewBB); in CloneBlock()
|
| H A D | ValueMapper.cpp | 85 if (BlockAddress *BA = dyn_cast<BlockAddress>(C)) { in MapValue() 90 return VM[V] = BlockAddress::get(F, BB ? BB : BA->getBasicBlock()); in MapValue()
|
| H A D | Local.cpp | 233 if (BlockAddress *BA = in ConstantFoldTerminator() 234 dyn_cast<BlockAddress>(IBI->getAddress()->stripPointerCasts())) { in ConstantFoldTerminator() 508 BlockAddress *BA = BlockAddress::get(DestBB); in MergeBasicBlockIntoOnlyPred()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Analysis/ |
| H A D | Lint.cpp | 400 !isa<BlockAddress>(UnderlyingObject), in visitMemoryReference() 406 Assert1(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference() 410 Assert1(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference() 415 isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
|
| /minix3/external/bsd/llvm/dist/llvm/tools/bugpoint/ |
| H A D | ExtractFunction.cpp | 69 if (BlockAddress *BA = dyn_cast<BlockAddress>(V)) { in globalInitUsesExternalBA()
|
| /minix3/external/bsd/llvm/dist/llvm/tools/llvm-diff/ |
| H A 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()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/IPO/ |
| H A D | IPConstantPropagation.cpp | 93 if (isa<BlockAddress>(UR)) continue; in PropagateConstantsIntoArguments()
|
| /minix3/minix/drivers/power/acpi/include/ |
| H A D | actbl3.h | 341 UINT64 BlockAddress; member
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | JumpThreading.cpp | 334 return dyn_cast<BlockAddress>(Val->stripPointerCasts()); in getKnownConstant() 655 BlockAddress *BA = BlockAddress::get(BB); in hasAddressTakenAndUsed() 1174 DestBB = cast<BlockAddress>(Val)->getBasicBlock(); in ProcessThreadableEdges()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLowering.cpp | 765 BlockAddress::get(const_cast<BasicBlock *>(MBB->getBasicBlock())); in LowerBR_JT() 1035 const BlockAddress *BA = cast<BlockAddressSDNode>(Op)->getBlockAddress(); in LowerBlockAddress() 1315 setOperationAction(ISD::BlockAddress, MVT::i32, Custom); in HexagonTargetLowering() 1559 case ISD::BlockAddress: return LowerBlockAddress(Op, DAG); in LowerOperation()
|