Home
last modified time | relevance | path

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

123

/external/llvm/lib/Transforms/Utils/
DValueMapper.cpp95 if (BlockAddress *BA = dyn_cast<BlockAddress>(C)) { in MapValue()
100 return VM[V] = BlockAddress::get(F, BB ? BB : BA->getBasicBlock()); in MapValue()
DCloneFunction.cpp130 Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(OldFunc), in CloneFunctionInto()
132 VMap[OldBBAddr] = BlockAddress::get(NewFunc, CBB); in CloneFunctionInto()
249 Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(OldFunc), in CloneBlock()
251 VMap[OldBBAddr] = BlockAddress::get(NewFunc, NewBB); in CloneBlock()
DLocal.cpp188 if (BlockAddress *BA = in ConstantFoldTerminator()
189 dyn_cast<BlockAddress>(IBI->getAddress()->stripPointerCasts())) { in ConstantFoldTerminator()
450 BlockAddress *BA = BlockAddress::get(DestBB); in MergeBasicBlockIntoOnlyPred()
/external/llvm/include/llvm/CodeGen/
DMachineOperand.h22 class BlockAddress; variable
162 const BlockAddress *BA; // For MO_BlockAddress.
420 const BlockAddress *getBlockAddress() const { in getBlockAddress()
604 static MachineOperand CreateBA(const BlockAddress *BA,
DAsmPrinter.h24 class BlockAddress; variable
317 MCSymbol *GetBlockAddressSymbol(const BlockAddress *BA) const;
DISDOpcodes.h63 JumpTable, ConstantPool, ExternalSymbol, BlockAddress, enumerator
DSelectionDAGNodes.h1457 const BlockAddress *BA;
1460 BlockAddressSDNode(unsigned NodeTy, EVT VT, const BlockAddress *ba,
1466 const BlockAddress *getBlockAddress() const { return BA; }
1471 return N->getOpcode() == ISD::BlockAddress ||
/external/llvm/include/llvm/
DConstants.h762 class BlockAddress : public Constant {
765 BlockAddress(Function *F, BasicBlock *BB);
768 static BlockAddress *get(Function *F, BasicBlock *BB);
772 static BlockAddress *get(BasicBlock *BB);
784 static inline bool classof(const BlockAddress *) { return true; }
791 struct OperandTraits<BlockAddress> :
792 public FixedNumOperandTraits<BlockAddress, 2> {
795 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(BlockAddress, Value)
DBasicBlock.h28 class BlockAddress; variable
72 friend class BlockAddress;
/external/llvm/lib/Target/ARM/
DARMConstantPoolValue.h23 class BlockAddress; variable
146 const BlockAddress *getBlockAddress() const;
DARMConstantPoolValue.cpp160 const BlockAddress *ARMConstantPoolConstant::getBlockAddress() const { in getBlockAddress()
161 return dyn_cast_or_null<BlockAddress>(CVal); in getBlockAddress()
/external/llvm/unittests/Bitcode/
DBitReaderTest.cpp42 BlockAddress::get(BB), "table"); in makeLLVMModule()
/external/llvm/lib/VMCore/
DConstants.cpp285 if (const BlockAddress *BA = dyn_cast<BlockAddress>(this)) in getRelocationInfo()
299 isa<BlockAddress>(LHS->getOperand(0)) && in getRelocationInfo()
300 isa<BlockAddress>(RHS->getOperand(0)) && in getRelocationInfo()
301 cast<BlockAddress>(LHS->getOperand(0))->getFunction() == in getRelocationInfo()
302 cast<BlockAddress>(RHS->getOperand(0))->getFunction()) in getRelocationInfo()
1270 BlockAddress *BlockAddress::get(BasicBlock *BB) { in get()
1275 BlockAddress *BlockAddress::get(Function *F, BasicBlock *BB) { in get()
1276 BlockAddress *&BA = in get()
1279 BA = new BlockAddress(F, BB); in get()
1285 BlockAddress::BlockAddress(Function *F, BasicBlock *BB) in BlockAddress() function in BlockAddress
[all …]
DBasicBlock.cpp73 BlockAddress *BA = cast<BlockAddress>(use_back()); in ~BasicBlock()
DConstantFold.cpp1339 !isa<BlockAddress>(V1)) { in evaluateICmpRelation()
1341 !isa<BlockAddress>(V2)) { in evaluateICmpRelation()
1385 } else if (isa<BlockAddress>(V2)) { in evaluateICmpRelation()
1394 } else if (const BlockAddress *BA = dyn_cast<BlockAddress>(V1)) { in evaluateICmpRelation()
1406 if (const BlockAddress *BA2 = dyn_cast<BlockAddress>(V2)) { in evaluateICmpRelation()
DLLVMContextImpl.h284 DenseMap<std::pair<Function*, BasicBlock*> , BlockAddress*> BlockAddresses;
DFunction.cpp421 if (!isa<BlockAddress>(*I)) in isDefTriviallyDead()
/external/llvm/lib/Analysis/
DLint.cpp395 !isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
401 Assert1(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
405 Assert1(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
410 isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
/external/llvm/tools/bugpoint/
DExtractFunction.cpp68 if (BlockAddress *BA = dyn_cast<BlockAddress>(V)) { in globalInitUsesExternalBA()
/external/llvm/tools/llvm-diff/
DDifferenceEngine.cpp393 if (isa<BlockAddress>(L)) in equivalentAsOperands()
394 return Blocks[cast<BlockAddress>(L)->getBasicBlock()] in equivalentAsOperands()
395 == cast<BlockAddress>(R)->getBasicBlock(); in equivalentAsOperands()
/external/llvm/lib/Transforms/IPO/
DIPConstantPropagation.cpp92 if (isa<BlockAddress>(U)) continue; in PropagateConstantsIntoArguments()
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp303 return dyn_cast<BlockAddress>(Val->stripPointerCasts()); in getKnownConstant()
622 BlockAddress *BA = BlockAddress::get(BB); in hasAddressTakenAndUsed()
1105 DestBB = cast<BlockAddress>(Val)->getBasicBlock(); in ProcessThreadableEdges()
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp107 setOperationAction(ISD::BlockAddress, MVT::i16, Custom); in MSP430TargetLowering()
187 case ISD::BlockAddress: return LowerBlockAddress(Op, DAG); in LowerOperation()
653 const BlockAddress *BA = cast<BlockAddressSDNode>(Op)->getBlockAddress(); in LowerBlockAddress()
DMSP430ISelDAGToDAG.cpp49 const BlockAddress *BlockAddr;
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp818 llvm::BlockAddress *CodeGenFunction::GetAddrOfLabel(const LabelDecl *L) { in GetAddrOfLabel()
827 return llvm::BlockAddress::get(CurFn, BB); in GetAddrOfLabel()

123