Home
last modified time | relevance | path

Searched refs:getBasicBlock (Results 1 – 25 of 55) sorted by relevance

123

/external/llvm/unittests/Linker/
DLinkModulesTest.cpp115 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(), in TEST_F()
122 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(), in TEST_F()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp438 const Value *LBB = (const Value*)BBDN->getBasicBlock()->getBasicBlock(); in print_details()
441 OS << (const void*)BBDN->getBasicBlock() << ">"; in print_details()
500 BA->getBlockAddress()->getBasicBlock()->printAsOperand(OS, false); in print_details()
DSelectionDAGBuilder.cpp1381 const BasicBlock *SrcBB = Src->getBasicBlock(); in getEdgeWeight()
1382 const BasicBlock *DstBB = Dst->getBasicBlock(); in getEdgeWeight()
1413 const BasicBlock *BB = CurBB->getBasicBlock(); in EmitBranchForMergedCondition()
1469 BOp->getParent() != CurBB->getBasicBlock() || in FindMergedConditions()
1470 !InBlock(BOp->getOperand(0), CurBB->getBasicBlock()) || in FindMergedConditions()
1471 !InBlock(BOp->getOperand(1), CurBB->getBasicBlock())) { in FindMergedConditions()
1480 MachineBasicBlock *TmpBB = MF.CreateMachineBasicBlock(CurBB->getBasicBlock()); in FindMergedConditions()
1600 DAG.getBasicBlock(Succ0MBB))); in visitBr()
1727 DAG.getBasicBlock(CB.TrueBB)); in visitSwitchCase()
1733 DAG.getBasicBlock(CB.FalseBB)); in visitSwitchCase()
[all …]
DFastISel.cpp1370 if (FuncInfo.MBB->getBasicBlock()->size() > 1 && in fastEmitBranch()
1382 BranchWeight = FuncInfo.BPI->getEdgeWeight(FuncInfo.MBB->getBasicBlock(), in fastEmitBranch()
1383 MSucc->getBasicBlock()); in fastEmitBranch()
/external/llvm/lib/Transforms/Utils/
DValueMapper.cpp88 BasicBlock *BB = cast_or_null<BasicBlock>(MapValue(BA->getBasicBlock(), VM, in MapValue()
90 return VM[V] = BlockAddress::get(F, BB ? BB : BA->getBasicBlock()); in MapValue()
/external/llvm/lib/CodeGen/
DMachineBasicBlock.cpp239 if (const BasicBlock *LBB = getBasicBlock()) in getName()
250 if (getBasicBlock()) in getFullName()
251 Name += getBasicBlock()->getName(); in getFullName()
271 if (const BasicBlock *LBB = getBasicBlock()) { in print()
DWinEHPrepare.cpp706 if (!LPadTargetBlocks.count(BA->getBasicBlock())) in completeNestedLandingPad()
713 BasicBlock *MappedBB = LPadTargetBlocks[BA->getBasicBlock()]; in completeNestedLandingPad()
729 IBr->addDestination(Target->getBasicBlock()); in completeNestedLandingPad()
DMachineLICM.cpp1396 if (Preheader->getBasicBlock()) in Hoist()
1399 if (MI->getParent()->getBasicBlock()) in Hoist()
DBranchFolding.cpp714 SuccBB->getBasicBlock() : MBB->getBasicBlock(); in CreateCommonTailOnlyBlock()
DMachineFunction.cpp394 if (const BasicBlock *BB = Node->getBasicBlock()) in getNodeLabel()
/external/llvm/lib/Target/Mips/
DMips16ISelLowering.cpp531 const BasicBlock *LLVM_BB = BB->getBasicBlock(); in emitSel16()
593 const BasicBlock *LLVM_BB = BB->getBasicBlock(); in emitSelT16()
658 const BasicBlock *LLVM_BB = BB->getBasicBlock(); in emitSeliT16()
DMipsLongBranch.cpp146 MF->CreateMachineBasicBlock(MBB->getBasicBlock()); in splitMBB()
256 const BasicBlock *BB = MBB->getBasicBlock(); in expandToLongBranch()
DMipsISelLowering.cpp1067 const BasicBlock *LLVM_BB = BB->getBasicBlock(); in emitAtomicBinary()
1178 const BasicBlock *LLVM_BB = BB->getBasicBlock(); in emitAtomicBinaryPartword()
1330 const BasicBlock *LLVM_BB = BB->getBasicBlock(); in emitAtomicCmpSwap()
1413 const BasicBlock *LLVM_BB = BB->getBasicBlock(); in emitAtomicCmpSwapPartword()
3818 const BasicBlock *LLVM_BB = BB->getBasicBlock(); in emitPseudoSELECT()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp277 BasicBlock *getBasicBlock(unsigned ID) const { in getBasicBlock() function in __anonecb5182a0111::BitcodeReader
1537 BasicBlock *BB = getBasicBlock(Record[0]); in ParseValueSymbolTable()
3712 BasicBlock *TrueDest = getBasicBlock(Record[0]); in ParseFunctionBody()
3721 BasicBlock *FalseDest = getBasicBlock(Record[1]); in ParseFunctionBody()
3743 BasicBlock *Default = getBasicBlock(Record[3]); in ParseFunctionBody()
3785 BasicBlock *DestBB = getBasicBlock(Record[CurIdx++]); in ParseFunctionBody()
3800 BasicBlock *Default = getBasicBlock(Record[2]); in ParseFunctionBody()
3809 BasicBlock *DestBB = getBasicBlock(Record[1+3+i*2]); in ParseFunctionBody()
3830 if (BasicBlock *DestBB = getBasicBlock(Record[2+i])) { in ParseFunctionBody()
3847 BasicBlock *NormalBB = getBasicBlock(Record[2]); in ParseFunctionBody()
[all …]
/external/llvm/tools/llvm-diff/
DDifferenceEngine.cpp390 return Blocks[cast<BlockAddress>(L)->getBasicBlock()] in equivalentAsOperands()
391 == cast<BlockAddress>(R)->getBasicBlock(); in equivalentAsOperands()
/external/llvm/lib/Target/AArch64/
DAArch64BranchRelaxation.cpp218 MF->CreateMachineBasicBlock(OrigBB->getBasicBlock()); in splitBlockBeforeInstr()
DAArch64FastISel.cpp862 InMBB = I->getParent() == FuncInfo.MBB->getBasicBlock(); in computeCallAddress()
2231 TBB->getBasicBlock()); in emitCompareAndBranch()
2313 TBB->getBasicBlock()); in selectBranch()
2351 TBB->getBasicBlock()); in selectBranch()
2367 Target->getBasicBlock()); in selectBranch()
2386 TBB->getBasicBlock()); in selectBranch()
2420 TBB->getBasicBlock()); in selectBranch()
/external/llvm/lib/IR/
DConstants.cpp1506 ->BlockAddresses.erase(std::make_pair(getFunction(), getBasicBlock())); in destroyConstant()
1507 getBasicBlock()->AdjustBlockAddressRefCount(-1); in destroyConstant()
1515 BasicBlock *NewBB = getBasicBlock(); in replaceUsesOfWithOnConstant()
1531 getBasicBlock()->AdjustBlockAddressRefCount(-1); in replaceUsesOfWithOnConstant()
1536 getBasicBlock())); in replaceUsesOfWithOnConstant()
1540 getBasicBlock()->AdjustBlockAddressRefCount(1); in replaceUsesOfWithOnConstant()
/external/llvm/include/llvm/CodeGen/
DMachineBasicBlock.h117 const BasicBlock *getBasicBlock() const { return BB; }
DSelectionDAG.h484 SDValue getBasicBlock(MachineBasicBlock *MBB);
485 SDValue getBasicBlock(MachineBasicBlock *MBB, SDLoc dl);
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2285 return MMI->getAddrLabelSymbol(BA->getBasicBlock()); in GetBlockAddressSymbol()
2408 const BasicBlock *BB = MBB.getBasicBlock(); in EmitBasicBlockStart()
2419 if (const BasicBlock *BB = MBB.getBasicBlock()) in EmitBasicBlockStart()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp834 InMBB = I->getParent() == FuncInfo.MBB->getBasicBlock(); in X86SelectCallAddress()
1419 TrueMBB->getBasicBlock()); in X86SelectBranch()
1460 TrueMBB->getBasicBlock()); in X86SelectBranch()
1480 TrueMBB->getBasicBlock()); in X86SelectBranch()
1499 TrueMBB->getBasicBlock()); in X86SelectBranch()
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp1230 const BasicBlock *LLVM_BB = BB->getBasicBlock(); in EmitShiftInstr()
1319 const BasicBlock *LLVM_BB = BB->getBasicBlock(); in EmitInstrWithCustomInserter()
/external/llvm/lib/Target/BPF/
DBPFISelLowering.cpp549 const BasicBlock *LLVM_BB = BB->getBasicBlock(); in EmitInstrWithCustomInserter()
/external/llvm/lib/Target/ARM/
DARMConstantIslandPass.cpp880 MF->CreateMachineBasicBlock(OrigBB->getBasicBlock()); in splitBlockBeforeInstr()
2056 MF->CreateMachineBasicBlock(JTBB->getBasicBlock()); in adjustJTTargetBlockForward()

123