Home
last modified time | relevance | path

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

/external/llvm/lib/ExecutionEngine/JIT/
DJITMemoryManager.cpp306 MemoryRangeHeader *CurBlock; member in __anonc4b138420211::DefaultJITMemoryManager
375 CurBlock = candidateBlock; in startFunctionBody()
379 ActualSize = CurBlock->BlockSize - sizeof(MemoryRangeHeader); in startFunctionBody()
380 return (uint8_t *)(CurBlock + 1); in startFunctionBody()
423 assert(FunctionStart == (uint8_t *)(CurBlock+1) && in endFunctionBody()
426 uintptr_t BlockSize = FunctionEnd - (uint8_t *)CurBlock; in endFunctionBody()
429 FreeMemoryList =CurBlock->TrimAllocationToSize(FreeMemoryList, BlockSize); in endFunctionBody()
435 CurBlock = FreeMemoryList; in allocateSpace()
438 uint8_t *result = (uint8_t *)(CurBlock + 1); in allocateSpace()
444 uintptr_t BlockSize = result + Size - (uint8_t *)CurBlock; in allocateSpace()
[all …]
/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp259 BasicBlock *CurBlock = SI->getParent(); in processSwitchInst() local
260 BasicBlock *OrigBlock = CurBlock; in processSwitchInst()
261 Function *F = CurBlock->getParent(); in processSwitchInst()
267 BranchInst::Create(SI->getDefaultDest(), CurBlock); in processSwitchInst()
268 CurBlock->getInstList().erase(SI); in processSwitchInst()
304 CurBlock->getInstList().erase(SI); in processSwitchInst()
/external/clang/lib/Sema/
DSemaExpr.cpp9249 BlockScopeInfo *CurBlock = getCurBlock(); in ActOnBlockArguments() local
9295 CurBlock->TheDecl->setSignatureAsWritten(Sig); in ActOnBlockArguments()
9296 CurBlock->FunctionType = T; in ActOnBlockArguments()
9303 CurBlock->TheDecl->setIsVariadic(isVariadic); in ActOnBlockArguments()
9317 CurBlock->ReturnType = RetTy; in ActOnBlockArguments()
9318 CurBlock->TheDecl->setBlockMissingReturnType(false); in ActOnBlockArguments()
9319 CurBlock->HasImplicitReturnType = false; in ActOnBlockArguments()
9341 BuildParmVarDeclForTypedef(CurBlock->TheDecl, in ActOnBlockArguments()
9350 CurBlock->TheDecl->setParams(Params); in ActOnBlockArguments()
9351 CheckParmsForFunctionDef(CurBlock->TheDecl->param_begin(), in ActOnBlockArguments()
[all …]
DSemaChecking.cpp1310 BlockScopeInfo *CurBlock = getCurBlock(); in SemaBuiltinVAStart() local
1312 if (CurBlock) in SemaBuiltinVAStart()
1313 isVariadic = CurBlock->TheDecl->isVariadic(); in SemaBuiltinVAStart()
1334 if (CurBlock) in SemaBuiltinVAStart()
1335 LastArg = *(CurBlock->TheDecl->param_end()-1); in SemaBuiltinVAStart()
DSemaStmt.cpp2294 if (BlockScopeInfo *CurBlock = dyn_cast<BlockScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt() local
2295 if (CurBlock->FunctionType->getAs<FunctionType>()->getNoReturnAttr()) { in ActOnCapScopeReturnStmt()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp2021 MachineBasicBlock *CurBlock = CR.CaseBB; in handleSmallSwitchRange() local
2025 FallThrough = CurMF->CreateMachineBasicBlock(CurBlock->getBasicBlock()); in handleSmallSwitchRange()
2049 /* me */ CurBlock, in handleSmallSwitchRange()
2057 if (CurBlock == SwitchBB) in handleSmallSwitchRange()
2062 CurBlock = FallThrough; in handleSmallSwitchRange()