/external/llvm/unittests/Linker/ |
D | LinkModulesTest.cpp | 45 Constant *SwitchCase1BA = BlockAddress::get(SwitchCase1BB); in SetUp() 48 Constant *SwitchCase2BA = BlockAddress::get(SwitchCase2BB); in SetUp() 72 TEST_F(LinkModuleTest, BlockAddress) { in TEST_F() argument 112 ASSERT_TRUE(isa<BlockAddress>(Elem)); in TEST_F() 113 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(), in TEST_F() 115 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(), in TEST_F() 119 ASSERT_TRUE(isa<BlockAddress>(Elem)); in TEST_F() 120 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(), in TEST_F() 122 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(), in TEST_F()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 776 class BlockAddress : public Constant { 779 BlockAddress(Function *F, BasicBlock *BB); 782 static BlockAddress *get(Function *F, BasicBlock *BB); 786 static BlockAddress *get(BasicBlock *BB); 792 static BlockAddress *lookup(const BasicBlock *BB); 810 struct OperandTraits<BlockAddress> : 811 public FixedNumOperandTraits<BlockAddress, 2> { 814 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(BlockAddress, Value)
|
D | BasicBlock.h | 30 class BlockAddress; variable 67 friend class BlockAddress;
|
/external/llvm/include/llvm/CodeGen/ |
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,
|
D | AsmPrinter.h | 28 class BlockAddress; variable 353 MCSymbol *GetBlockAddressSymbol(const BlockAddress *BA) const;
|
D | ISDOpcodes.h | 63 JumpTable, ConstantPool, ExternalSymbol, BlockAddress, enumerator
|
D | SelectionDAGNodes.h | 1709 const BlockAddress *BA; 1713 BlockAddressSDNode(unsigned NodeTy, EVT VT, const BlockAddress *ba, 1719 const BlockAddress *getBlockAddress() const { return BA; } 1724 return N->getOpcode() == ISD::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/Target/ARM/ |
D | ARMConstantPoolValue.h | 24 class BlockAddress; variable 165 const BlockAddress *getBlockAddress() const;
|
D | ARMConstantPoolValue.cpp | 160 const BlockAddress *ARMConstantPoolConstant::getBlockAddress() const { in getBlockAddress() 161 return dyn_cast_or_null<BlockAddress>(CVal); in getBlockAddress()
|
/external/llvm/lib/Transforms/Utils/ |
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()
|
D | CloneFunction.cpp | 136 Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(OldFunc), in CloneFunctionInto() 138 VMap[OldBBAddr] = BlockAddress::get(NewFunc, CBB); in CloneFunctionInto() 317 Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(OldFunc), in CloneBlock() 319 VMap[OldBBAddr] = BlockAddress::get(NewFunc, NewBB); in CloneBlock()
|
D | Local.cpp | 240 if (BlockAddress *BA = in ConstantFoldTerminator() 241 dyn_cast<BlockAddress>(IBI->getAddress()->stripPointerCasts())) { in ConstantFoldTerminator() 514 BlockAddress *BA = BlockAddress::get(DestBB); in MergeBasicBlockIntoOnlyPred()
|
/external/llvm/lib/IR/ |
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() 1467 BlockAddress *BlockAddress::get(BasicBlock *BB) { in get() 1472 BlockAddress *BlockAddress::get(Function *F, BasicBlock *BB) { in get() 1473 BlockAddress *&BA = in get() 1476 BA = new BlockAddress(F, BB); in get() 1482 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 | 1419 !isa<BlockAddress>(V1)) { in evaluateICmpRelation() 1421 !isa<BlockAddress>(V2)) { in evaluateICmpRelation() 1462 } else if (isa<BlockAddress>(V2)) { in evaluateICmpRelation() 1471 } else if (const BlockAddress *BA = dyn_cast<BlockAddress>(V1)) { in evaluateICmpRelation() 1483 if (const BlockAddress *BA2 = dyn_cast<BlockAddress>(V2)) { in evaluateICmpRelation()
|
D | Function.cpp | 872 if (isa<BlockAddress>(FU)) in hasAddressTaken() 891 if (!isa<BlockAddress>(U)) in isDefTriviallyDead()
|
/external/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 679 SmallVector<BlockAddress *, 4> ActionTargets; in completeNestedLandingPad() 699 BlockAddress *BA = cast<BlockAddress>(Ret->getReturnValue()); in completeNestedLandingPad() 715 BlockAddress *NewBA = BlockAddress::get(OutlinedHandlerFn, MappedBB); in completeNestedLandingPad() 970 CatchAction->setHandlerBlockOrFunc(BlockAddress::get(HandlerBB)); in processSEHCatchHandler() 1137 ReturnInst::Create(NewBB->getContext(), BlockAddress::get(ContinueBB), NewBB); in handleEndCatch()
|
/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/lib/Analysis/ |
D | Lint.cpp | 410 !isa<BlockAddress>(UnderlyingObject), in visitMemoryReference() 416 Assert(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference() 420 Assert(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference() 425 isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
|
/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 | GlobalOpt.cpp | 1859 if (isa<BlockAddress>(U)) in ChangeCalleesToFastCall() 1882 if (isa<BlockAddress>(U)) in RemoveNestAttribute() 1991 if (C->getNumOperands() == 0 || isa<BlockAddress>(C)) in isSimpleEnoughValueToCommitHelper() 2581 if (BlockAddress *BA = dyn_cast<BlockAddress>(Val)) in EvaluateBlock()
|
/external/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 331 return dyn_cast<BlockAddress>(Val->stripPointerCasts()); in getKnownConstant() 653 BlockAddress *BA = BlockAddress::get(BB); in hasAddressTakenAndUsed() 1173 DestBB = cast<BlockAddress>(Val)->getBasicBlock(); in ProcessThreadableEdges()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 719 BlockAddress *BA = dyn_cast<BlockAddress>(*UI); in runOnModule() 723 BlockAddress::get(NewF, BA->getBasicBlock())); in runOnModule() 1056 if (isa<Function>(*i) || isa<BlockAddress>(*i)) in loadShadow()
|