| /external/llvm/unittests/Linker/ | 
| LinkModulesTest.cpp | 43     Constant *SwitchCase1BA = BlockAddress::get(SwitchCase1BB); 46     Constant *SwitchCase2BA = BlockAddress::get(SwitchCase2BB);
 69 TEST_F(LinkModuleTest, BlockAddress) {
 101   //   [i8* blockaddress(@ba_func, %switch.case.1),
 102   //    i8* blockaddress(@ba_func, %switch.case.2),
 109   ASSERT_TRUE(isa<BlockAddress>(Elem));
 110   EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(),
 112   EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(),
 116   ASSERT_TRUE(isa<BlockAddress>(Elem));
 117   EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction()
 [all...]
 | 
| /external/llvm/unittests/Bitcode/ | 
| BitReaderTest.cpp | 42                      BlockAddress::get(BB), "table"); 
 | 
| /external/llvm/include/llvm/IR/ | 
| BasicBlock.h | 29 class BlockAddress; 74   friend class BlockAddress;
 
 | 
| Constants.h | 746 /// BlockAddress - The address of a basic block. 748 class BlockAddress : public Constant {
 751   BlockAddress(Function *F, BasicBlock *BB);
 753   /// get - Return a BlockAddress for the specified function and basic block.
 754   static BlockAddress *get(Function *F, BasicBlock *BB);
 756   /// get - Return a BlockAddress for the specified basic block.  The basic
 758   static BlockAddress *get(BasicBlock *BB);
 760   /// \brief Lookup an existing \c BlockAddress constant for the given
 763   /// \returns 0 if \c !BB->hasAddressTaken(), otherwise the \c BlockAddress.
 764   static BlockAddress *lookup(const BasicBlock *BB)
 [all...]
 | 
| /external/llvm/lib/Transforms/Utils/ | 
| ValueMapper.cpp | 118   if (BlockAddress *BA = dyn_cast<BlockAddress>(C)) { 123     return VM[V] = BlockAddress::get(F, BB ? BB : BA->getBasicBlock());
 
 | 
| CloneFunction.cpp | 133     // implementation, which generates an invalid blockaddress when 136       Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(OldFunc),
 138       VMap[OldBBAddr] = BlockAddress::get(NewFunc, CBB);
 300   // implementation, which generates an invalid blockaddress when
 306     Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(OldFunc),
 308     VMap[OldBBAddr] = BlockAddress::get(NewFunc, NewBB);
 
 | 
| Local.cpp | 229     // indirectbr blockaddress(@F, @BB) -> br label @BB 230     if (BlockAddress *BA =
 231           dyn_cast<BlockAddress>(IBI->getAddress()->stripPointerCasts())) {
 497     BlockAddress *BA = BlockAddress::get(DestBB);
 [all...]
 | 
| /external/llvm/include/llvm/CodeGen/ | 
| MachineOperand.h | 22 class BlockAddress; 176         const BlockAddress *BA;   // For MO_BlockAddress.
 438   const BlockAddress *getBlockAddress() const {
 652   static MachineOperand CreateBA(const BlockAddress *BA, int64_t Offset,
 
 | 
| AsmPrinter.h | 27 class BlockAddress; 319   /// Return the MCSymbol used to satisfy BlockAddress uses of the specified
 321   MCSymbol *GetBlockAddressSymbol(const BlockAddress *BA) const;
 
 | 
| ISDOpcodes.h | 63     JumpTable, ConstantPool, ExternalSymbol, BlockAddress, [all...]
 | 
| MachineInstrBuilder.h | 142   const MachineInstrBuilder &addBlockAddress(const BlockAddress *BA, 
 | 
| SelectionDAGNodes.h | [all...] | 
| /external/llvm/lib/IR/ | 
| BasicBlock.cpp | 70   // is no indirect branch).  Handle these cases by zapping the BlockAddress 73     assert(!use_empty() && "There should be at least one blockaddress!");
 77       BlockAddress *BA = cast<BlockAddress>(user_back());
 
 | 
| Constants.cpp | 380   if (const BlockAddress *BA = dyn_cast<BlockAddress>(this)) 383   // While raw uses of blockaddress need to be relocated, differences between
 394           isa<BlockAddress>(LHS->getOperand(0)) &&
 395           isa<BlockAddress>(RHS->getOperand(0)) &&
 396           cast<BlockAddress>(LHS->getOperand(0))->getFunction() ==
 397             cast<BlockAddress>(RHS->getOperand(0))->getFunction())
 [all...]
 | 
| LLVMContextImpl.h | 290   DenseMap<std::pair<const Function *, const BasicBlock *>, BlockAddress *> 
 | 
| ConstantFold.cpp | [all...] | 
| /external/llvm/lib/Target/ARM/ | 
| ARMConstantPoolValue.cpp | 82     // external symbols. FIXME: What about blockaddress? 160 const BlockAddress *ARMConstantPoolConstant::getBlockAddress() const {
 161   return dyn_cast_or_null<BlockAddress>(CVal);
 
 | 
| ARMConstantPoolValue.h | 24 class BlockAddress; 165   const BlockAddress *getBlockAddress() const;
 
 | 
| /external/llvm/tools/llvm-diff/ | 
| DifferenceEngine.cpp | 389     if (isa<BlockAddress>(L)) 390       return Blocks[cast<BlockAddress>(L)->getBasicBlock()]
 391                  == cast<BlockAddress>(R)->getBasicBlock();
 
 | 
| /external/llvm/tools/bugpoint/ | 
| ExtractFunction.cpp | 69       if (BlockAddress *BA = dyn_cast<BlockAddress>(V)) { 
 | 
| /external/llvm/lib/Analysis/ | 
| Lint.cpp | 395             !isa<BlockAddress>(UnderlyingObject), 401     Assert1(!isa<BlockAddress>(UnderlyingObject),
 405     Assert1(!isa<BlockAddress>(UnderlyingObject),
 410             isa<BlockAddress>(UnderlyingObject),
 411             "Undefined behavior: Branch to non-blockaddress", &I);
 
 | 
| /external/llvm/lib/Transforms/IPO/ | 
| IPConstantPropagation.cpp | 92     // Ignore blockaddress uses. 93     if (isa<BlockAddress>(UR)) continue;
 
 | 
| /external/llvm/lib/Target/MSP430/ | 
| MSP430ISelDAGToDAG.cpp | 51     const BlockAddress *BlockAddr; 
 | 
| /external/llvm/lib/Transforms/Instrumentation/ | 
| DataFlowSanitizer.cpp | 659           BlockAddress *BA = dyn_cast<BlockAddress>(*UI); 663                 BlockAddress::get(NewF, BA->getBasicBlock()));
 [all...]
 | 
| /external/llvm/lib/Transforms/Scalar/ | 
| JumpThreading.cpp | 328     return dyn_cast<BlockAddress>(Val->stripPointerCasts()); 334 /// if we can infer that the value is a known ConstantInt/BlockAddress or undef
 647   BlockAddress *BA = BlockAddress::get(BB);
 [all...]
 |