Home
last modified time | relevance | path

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

123

/minix3/external/bsd/llvm/dist/llvm/unittests/Linker/
H A DLinkModulesTest.cpp114 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(), in TEST_F()
121 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(), in TEST_F()
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp436 const Value *LBB = (const Value*)BBDN->getBasicBlock()->getBasicBlock(); in print_details()
439 OS << (const void*)BBDN->getBasicBlock() << ">"; in print_details()
498 BA->getBlockAddress()->getBasicBlock()->printAsOperand(OS, false); in print_details()
H A DSelectionDAGBuilder.cpp1366 const BasicBlock *SrcBB = Src->getBasicBlock(); in getEdgeWeight()
1367 const BasicBlock *DstBB = Dst->getBasicBlock(); in getEdgeWeight()
1398 const BasicBlock *BB = CurBB->getBasicBlock(); in EmitBranchForMergedCondition()
1454 BOp->getParent() != CurBB->getBasicBlock() || in FindMergedConditions()
1455 !InBlock(BOp->getOperand(0), CurBB->getBasicBlock()) || in FindMergedConditions()
1456 !InBlock(BOp->getOperand(1), CurBB->getBasicBlock())) { in FindMergedConditions()
1465 MachineBasicBlock *TmpBB = MF.CreateMachineBasicBlock(CurBB->getBasicBlock()); in FindMergedConditions()
1591 DAG.getBasicBlock(Succ0MBB))); in visitBr()
1725 DAG.getBasicBlock(CB.TrueBB)); in visitSwitchCase()
1731 DAG.getBasicBlock(CB.FalseBB)); in visitSwitchCase()
[all …]
H A DFastISel.cpp1359 if (FuncInfo.MBB->getBasicBlock()->size() > 1 && in fastEmitBranch()
1371 BranchWeight = FuncInfo.BPI->getEdgeWeight(FuncInfo.MBB->getBasicBlock(), in fastEmitBranch()
1372 MSucc->getBasicBlock()); in fastEmitBranch()
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A 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()
H A DMachineLICM.cpp1404 if (Preheader->getBasicBlock()) in Hoist()
1407 if (MI->getParent()->getBasicBlock()) in Hoist()
H A DBranchFolding.cpp714 SuccBB->getBasicBlock() : MBB->getBasicBlock(); in CreateCommonTailOnlyBlock()
H A DMachineFunction.cpp397 if (const BasicBlock *BB = Node->getBasicBlock()) in getNodeLabel()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A 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()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/Mips/
H A DMips16ISelLowering.cpp532 const BasicBlock *LLVM_BB = BB->getBasicBlock(); in emitSel16()
595 const BasicBlock *LLVM_BB = BB->getBasicBlock(); in emitSelT16()
660 const BasicBlock *LLVM_BB = BB->getBasicBlock(); in emitSeliT16()
H A DMipsLongBranch.cpp148 MF->CreateMachineBasicBlock(MBB->getBasicBlock()); in splitMBB()
258 const BasicBlock *BB = MBB->getBasicBlock(); in expandToLongBranch()
H A DMipsAsmPrinter.cpp409 if (const BasicBlock *bb = Pred->getBasicBlock()) in isBlockOnlyReachableByFallthrough()
/minix3/external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1139 BasicBlock *BB = getBasicBlock(Record[0]); in ParseValueSymbolTable()
2926 BasicBlock *TrueDest = getBasicBlock(Record[0]); in ParseFunctionBody()
2935 BasicBlock *FalseDest = getBasicBlock(Record[1]); in ParseFunctionBody()
2957 BasicBlock *Default = getBasicBlock(Record[3]); in ParseFunctionBody()
2999 BasicBlock *DestBB = getBasicBlock(Record[CurIdx++]); in ParseFunctionBody()
3014 BasicBlock *Default = getBasicBlock(Record[2]); in ParseFunctionBody()
3023 BasicBlock *DestBB = getBasicBlock(Record[1+3+i*2]); in ParseFunctionBody()
3044 if (BasicBlock *DestBB = getBasicBlock(Record[2+i])) { in ParseFunctionBody()
3061 BasicBlock *NormalBB = getBasicBlock(Record[2]); in ParseFunctionBody()
3062 BasicBlock *UnwindBB = getBasicBlock(Record[3]); in ParseFunctionBody()
[all …]
H A DBitcodeReader.h262 BasicBlock *getBasicBlock(unsigned ID) const { in getBasicBlock() function
/minix3/external/bsd/llvm/dist/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp390 return Blocks[cast<BlockAddress>(L)->getBasicBlock()] in equivalentAsOperands()
391 == cast<BlockAddress>(R)->getBasicBlock(); in equivalentAsOperands()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64BranchRelaxation.cpp218 MF->CreateMachineBasicBlock(OrigBB->getBasicBlock()); in splitBlockBeforeInstr()
H A DAArch64FastISel.cpp861 InMBB = I->getParent() == FuncInfo.MBB->getBasicBlock(); in computeCallAddress()
2229 TBB->getBasicBlock()); in emitCompareAndBranch()
2311 TBB->getBasicBlock()); in selectBranch()
2349 TBB->getBasicBlock()); in selectBranch()
2365 Target->getBasicBlock()); in selectBranch()
2384 TBB->getBasicBlock()); in selectBranch()
2418 TBB->getBasicBlock()); in selectBranch()
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DConstants.cpp1504 ->BlockAddresses.erase(std::make_pair(getFunction(), getBasicBlock())); in destroyConstant()
1505 getBasicBlock()->AdjustBlockAddressRefCount(-1); in destroyConstant()
1513 BasicBlock *NewBB = getBasicBlock(); in replaceUsesOfWithOnConstant()
1529 getBasicBlock()->AdjustBlockAddressRefCount(-1); in replaceUsesOfWithOnConstant()
1534 getBasicBlock())); in replaceUsesOfWithOnConstant()
1538 getBasicBlock()->AdjustBlockAddressRefCount(1); in replaceUsesOfWithOnConstant()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h117 const BasicBlock *getBasicBlock() const { return BB; }
H A DSelectionDAG.h495 SDValue getBasicBlock(MachineBasicBlock *MBB);
496 SDValue getBasicBlock(MachineBasicBlock *MBB, SDLoc dl);
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2090 return MMI->getAddrLabelSymbol(BA->getBasicBlock()); in GetBlockAddressSymbol()
2213 const BasicBlock *BB = MBB.getBasicBlock(); in EmitBasicBlockStart()
2224 if (const BasicBlock *BB = MBB.getBasicBlock()) in EmitBasicBlockStart()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/X86/
H A DX86FastISel.cpp804 InMBB = I->getParent() == FuncInfo.MBB->getBasicBlock(); in X86SelectCallAddress()
1373 TrueMBB->getBasicBlock()); in X86SelectBranch()
1414 TrueMBB->getBasicBlock()); in X86SelectBranch()
1434 TrueMBB->getBasicBlock()); in X86SelectBranch()
1453 TrueMBB->getBasicBlock()); in X86SelectBranch()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp1237 const BasicBlock *LLVM_BB = BB->getBasicBlock(); in EmitShiftInstr()
1327 const BasicBlock *LLVM_BB = BB->getBasicBlock(); in EmitInstrWithCustomInserter()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp882 MF->CreateMachineBasicBlock(OrigBB->getBasicBlock()); in splitBlockBeforeInstr()
2058 MF->CreateMachineBasicBlock(JTBB->getBasicBlock()); in adjustJTTargetBlockForward()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DConstants.h780 BasicBlock *getBasicBlock() const { return (BasicBlock*)Op<1>().get(); }

123