Home
last modified time | relevance | path

Searched refs:CurBlock (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DJITMemoryManager.cpp294 MemoryRangeHeader *CurBlock; member in __anon99ff5b280211::DefaultJITMemoryManager
358 CurBlock = candidateBlock; in startFunctionBody()
362 ActualSize = CurBlock->BlockSize - sizeof(MemoryRangeHeader); in startFunctionBody()
363 return (uint8_t *)(CurBlock + 1); in startFunctionBody()
406 assert(FunctionStart == (uint8_t *)(CurBlock+1) && in endFunctionBody()
409 uintptr_t BlockSize = FunctionEnd - (uint8_t *)CurBlock; in endFunctionBody()
412 FreeMemoryList =CurBlock->TrimAllocationToSize(FreeMemoryList, BlockSize); in endFunctionBody()
418 CurBlock = FreeMemoryList; in allocateSpace()
421 uint8_t *result = (uint8_t *)(CurBlock + 1); in allocateSpace()
427 uintptr_t BlockSize = result + Size - (uint8_t *)CurBlock; in allocateSpace()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLowerSwitch.cpp277 BasicBlock *CurBlock = SI->getParent(); in processSwitchInst() local
278 BasicBlock *OrigBlock = CurBlock; in processSwitchInst()
279 Function *F = CurBlock->getParent(); in processSwitchInst()
285 BranchInst::Create(SI->getDefaultDest(), CurBlock); in processSwitchInst()
286 CurBlock->getInstList().erase(SI); in processSwitchInst()
322 CurBlock->getInstList().erase(SI); in processSwitchInst()
/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp400 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/mesa3d/src/gallium/drivers/radeon/
DAMDILCFGStructurizer.cpp307 int patternMatch(BlockT *CurBlock);
308 int patternMatchGroup(BlockT *CurBlock);
310 int serialPatternMatch(BlockT *CurBlock);
311 int ifPatternMatch(BlockT *CurBlock);
312 int switchPatternMatch(BlockT *CurBlock);
313 int loopendPatternMatch(BlockT *CurBlock);
314 int loopPatternMatch(BlockT *CurBlock);
341 void mergeIfthenelseBlock(InstrT *BranchInstr, BlockT *CurBlock,
361 BlockT *cloneBlockForPredecessor(BlockT *CurBlock, BlockT *PredBlock);
372 bool isActiveLoophead(BlockT *CurBlock);
/external/clang/lib/CodeGen/
DCGStmt.cpp624 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/
DAnalysisBasedWarnings.cpp221 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()
DSemaExpr.cpp11964 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 …]
DSemaChecking.cpp3139 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()
DSemaStmt.cpp2932 if (BlockScopeInfo *CurBlock = dyn_cast<BlockScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt() local
2933 if (CurBlock->FunctionType->getAs<FunctionType>()->getNoReturnAttr()) { in ActOnCapScopeReturnStmt()
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/
DCBackend.cpp335 void printPHICopiesForSuccessor(BasicBlock *CurBlock,
337 void printBranchToBlock(BasicBlock *CurBlock, BasicBlock *SuccBlock,
2436 void CWriter::printPHICopiesForSuccessor (BasicBlock *CurBlock, in printPHICopiesForSuccessor() argument
2442 Value *IV = PN->getIncomingValueForBlock(CurBlock); in printPHICopiesForSuccessor()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp1960 MachineBasicBlock *CurBlock = CR.CaseBB; in handleSmallSwitchRange() local
1964 FallThrough = CurMF->CreateMachineBasicBlock(CurBlock->getBasicBlock()); in handleSmallSwitchRange()
1987 /* me */ CurBlock, in handleSmallSwitchRange()
1994 if (CurBlock == SwitchBB) in handleSmallSwitchRange()
1999 CurBlock = FallThrough; in handleSmallSwitchRange()