/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | CodeMoverUtils.cpp | 120 const BasicBlock *CurBlock = &BB; in collectControlConditions() local 124 assert(DT.getNode(CurBlock) && "Expecting a valid DT node for CurBlock"); in collectControlConditions() 125 BasicBlock *IDom = DT.getNode(CurBlock)->getIDom()->getBlock(); in collectControlConditions() 135 if (PDT.dominates(CurBlock, IDom)) { in collectControlConditions() 136 LLVM_DEBUG(dbgs() << CurBlock->getName() in collectControlConditions() 139 } else if (PDT.dominates(CurBlock, BI->getSuccessor(0))) { in collectControlConditions() 140 LLVM_DEBUG(dbgs() << CurBlock->getName() << " is executed when \"" in collectControlConditions() 145 } else if (PDT.dominates(CurBlock, BI->getSuccessor(1))) { in collectControlConditions() 146 LLVM_DEBUG(dbgs() << CurBlock->getName() << " is executed when \"" in collectControlConditions() 160 CurBlock = IDom; in collectControlConditions() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | LowerSwitch.cpp | 400 BasicBlock *CurBlock = SI->getParent(); in processSwitchInst() local 401 BasicBlock *OrigBlock = CurBlock; in processSwitchInst() 402 Function *F = CurBlock->getParent(); in processSwitchInst() 408 BranchInst::Create(Default, CurBlock); in processSwitchInst() 488 BranchInst::Create(Default, CurBlock); in processSwitchInst() 518 CurBlock->getInstList().erase(SI); in processSwitchInst()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | MergeICmps.cpp | 766 BasicBlock *CurBlock = LastBlock; in getOrderedBlocks() local 768 if (CurBlock->hasAddressTaken()) { in getOrderedBlocks() 775 Blocks[BlockIndex] = CurBlock; in getOrderedBlocks() 776 auto *SinglePredecessor = CurBlock->getSinglePredecessor(); in getOrderedBlocks() 789 CurBlock = SinglePredecessor; in getOrderedBlocks() 791 Blocks[0] = CurBlock; in getOrderedBlocks()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | MergeICmps.cpp | 765 BasicBlock *CurBlock = LastBlock; in getOrderedBlocks() local 767 if (CurBlock->hasAddressTaken()) { in getOrderedBlocks() 774 Blocks[BlockIndex] = CurBlock; in getOrderedBlocks() 775 auto *SinglePredecessor = CurBlock->getSinglePredecessor(); in getOrderedBlocks() 788 CurBlock = SinglePredecessor; in getOrderedBlocks() 790 Blocks[0] = CurBlock; in getOrderedBlocks()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitstreamReader.cpp | 392 Block &CurBlock = BlockScope.back(); in ReadBlockInfoBlock() local 394 &CurBlock.GlobalAbbrevs->getAbbrevs(); in ReadBlockInfoBlock() 424 CurBlock.moveLocalAbbrevToAbbrevList(UpdateAbbrevs); in ReadBlockInfoBlock()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClBitstreamReader.h | 868 const Block &CurBlock = BlockScope.back(); in getAbbrev() local 869 const unsigned NumGlobalAbbrevs = CurBlock.getNumGlobalAbbrevs(); in getAbbrev() 871 return CurBlock.getGlobalAbbrevs().getVector()[AbbrevNo]; in getAbbrev() 874 CurBlock.getLocalAbbrevs().getVector(); in getAbbrev()
|
/external/clang/lib/CodeGen/ |
D | CGStmt.cpp | 624 auto CurBlock = Builder.GetInsertBlock(); in EmitIfStmt() local 628 if (CurBlock) in EmitIfStmt() 629 SimplifyForwardingBlocks(CurBlock); in EmitIfStmt() 646 auto CurBlock = Builder.GetInsertBlock(); in EmitIfStmt() local 650 if (CurBlock) in EmitIfStmt() 651 SimplifyForwardingBlocks(CurBlock); in EmitIfStmt()
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 221 CFGBlock *CurBlock = Stack.back(); in checkForRecursiveFunctionCall() local 224 unsigned ID = CurBlock->getBlockID(); in checkForRecursiveFunctionCall() 233 if (hasRecursiveCallInPath(FD, *CurBlock)) in checkForRecursiveFunctionCall() 239 for (auto I = CurBlock->succ_begin(), E = CurBlock->succ_end(); I != E; ++I) in checkForRecursiveFunctionCall()
|
D | SemaExpr.cpp | 11964 BlockScopeInfo *CurBlock = getCurBlock(); in ActOnBlockArguments() local 12008 CurBlock->TheDecl->setSignatureAsWritten(Sig); in ActOnBlockArguments() 12009 CurBlock->FunctionType = T; in ActOnBlockArguments() 12016 CurBlock->TheDecl->setIsVariadic(isVariadic); in ActOnBlockArguments() 12023 CurBlock->ReturnType = RetTy; in ActOnBlockArguments() 12024 CurBlock->TheDecl->setBlockMissingReturnType(false); in ActOnBlockArguments() 12025 CurBlock->HasImplicitReturnType = false; in ActOnBlockArguments() 12046 CurBlock->TheDecl, ParamInfo.getLocStart(), I); in ActOnBlockArguments() 12053 CurBlock->TheDecl->setParams(Params); in ActOnBlockArguments() 12054 CheckParmsForFunctionDef(CurBlock->TheDecl->parameters(), in ActOnBlockArguments() [all …]
|
D | SemaChecking.cpp | 3139 BlockScopeInfo *CurBlock = getCurBlock(); in SemaBuiltinVAStartImpl() local 3141 if (CurBlock) in SemaBuiltinVAStartImpl() 3142 isVariadic = CurBlock->TheDecl->isVariadic(); in SemaBuiltinVAStartImpl() 3169 if (CurBlock) in SemaBuiltinVAStartImpl() 3170 LastArg = CurBlock->TheDecl->parameters().back(); in SemaBuiltinVAStartImpl() 3256 if (BlockScopeInfo *CurBlock = getCurBlock()) in SemaBuiltinVAStartARM() local 3257 IsVariadic = CurBlock->TheDecl->isVariadic(); in SemaBuiltinVAStartARM()
|
D | SemaStmt.cpp | 2932 if (BlockScopeInfo *CurBlock = dyn_cast<BlockScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt() local 2933 if (CurBlock->FunctionType->getAs<FunctionType>()->getNoReturnAttr()) { in ActOnCapScopeReturnStmt()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 2464 llvm::BasicBlock *CurBlock = createBasicBlock("resolver_entry", Resolver); in EmitMultiVersionResolver() local 2465 Builder.SetInsertPoint(CurBlock); in EmitMultiVersionResolver() 2469 Builder.SetInsertPoint(CurBlock); in EmitMultiVersionResolver() 2485 CurBlock = createBasicBlock("resolver_else", Resolver); in EmitMultiVersionResolver() 2486 Builder.CreateCondBr(Condition, RetBlock, CurBlock); in EmitMultiVersionResolver() 2490 Builder.SetInsertPoint(CurBlock); in EmitMultiVersionResolver()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExpr.cpp | 15188 BlockScopeInfo *CurBlock = getCurBlock(); in ActOnBlockArguments() local 15232 CurBlock->TheDecl->setSignatureAsWritten(Sig); in ActOnBlockArguments() 15233 CurBlock->FunctionType = T; in ActOnBlockArguments() 15240 CurBlock->TheDecl->setIsVariadic(isVariadic); in ActOnBlockArguments() 15247 CurBlock->ReturnType = RetTy; in ActOnBlockArguments() 15248 CurBlock->TheDecl->setBlockMissingReturnType(false); in ActOnBlockArguments() 15249 CurBlock->HasImplicitReturnType = false; in ActOnBlockArguments() 15271 CurBlock->TheDecl, ParamInfo.getBeginLoc(), I); in ActOnBlockArguments() 15278 CurBlock->TheDecl->setParams(Params); in ActOnBlockArguments() 15279 CheckParmsForFunctionDef(CurBlock->TheDecl->parameters(), in ActOnBlockArguments() [all …]
|
D | SemaStmt.cpp | 3387 if (auto *CurBlock = dyn_cast<BlockScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt() local 3388 if (CurBlock->FunctionType->castAs<FunctionType>()->getNoReturnAttr()) { in ActOnCapScopeReturnStmt()
|