Home
last modified time | relevance | path

Searched refs:NewF (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp559 bool insert(ComparableFunction &NewF);
809 bool MergeFunctions::insert(ComparableFunction &NewF) { in insert() argument
810 std::pair<FnSetType::iterator, bool> Result = FnSet.insert(NewF); in insert()
812 DEBUG(dbgs() << "Inserting as unique: " << NewF.getFunc()->getName() << '\n'); in insert()
820 NewF.getFunc()->mayBeOverridden()); in insert()
823 << NewF.getFunc()->getName() << '\n'); in insert()
825 Function *DeleteF = NewF.getFunc(); in insert()
826 NewF.release(); in insert()
/external/llvm/lib/IR/
DMetadata.cpp167 const Function *F = 0, *NewF = 0; in assertLocalFunction() local
171 NewF = assertLocalFunction(MD); in assertLocalFunction()
173 NewF = getFunctionForValue(V); in assertLocalFunction()
176 F = NewF; in assertLocalFunction()
178 assert((NewF == 0 || F == NewF) &&"inconsistent function-local metadata"); in assertLocalFunction()
DModule.cpp157 Constant *NewF = getOrInsertFunction(Name, Ty); in getOrInsertFunction() local
159 return NewF; in getOrInsertFunction()
DConstants.cpp1383 Function *NewF = getFunction(); in replaceUsesOfWithOnConstant() local
1387 NewF = cast<Function>(To); in replaceUsesOfWithOnConstant()
1394 getContext().pImpl->BlockAddresses[std::make_pair(NewF, NewBB)]; in replaceUsesOfWithOnConstant()
1403 setOperand(0, NewF); in replaceUsesOfWithOnConstant()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp3564 Formula NewF = F; in GenerateCrossUseConstantOffsets() local
3565 NewF.BaseOffset = Offset; in GenerateCrossUseConstantOffsets()
3567 NewF)) in GenerateCrossUseConstantOffsets()
3569 NewF.ScaledReg = SE.getAddExpr(NegImmS, NewF.ScaledReg); in GenerateCrossUseConstantOffsets()
3574 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(NewF.ScaledReg)) in GenerateCrossUseConstantOffsets()
3576 (NewF.BaseOffset < 0) && in GenerateCrossUseConstantOffsets()
3578 .ule(abs64(NewF.BaseOffset))) in GenerateCrossUseConstantOffsets()
3582 (void)InsertFormula(LU, LUIdx, NewF); in GenerateCrossUseConstantOffsets()
3589 Formula NewF = F; in GenerateCrossUseConstantOffsets() local
3590 NewF.BaseOffset = (uint64_t)NewF.BaseOffset + Imm; in GenerateCrossUseConstantOffsets()
[all …]
/external/llvm/lib/Transforms/Utils/
DCloneFunction.cpp179 Function *NewF = Function::Create(FTy, F->getLinkage(), F->getName()); in CloneFunction() local
182 Function::arg_iterator DestI = NewF->arg_begin(); in CloneFunction()
191 CloneFunctionInto(NewF, F, VMap, ModuleLevelChanges, Returns, "", CodeInfo); in CloneFunction()
192 return NewF; in CloneFunction()
/external/llvm/tools/bugpoint/
DMiscompilation.cpp412 Function *NewF = ToNotOptimize->getFunction(MisCompFunctions[i].first); in ExtractLoops() local
414 assert(NewF && "Function not found??"); in ExtractLoops()
415 MiscompiledFunctions.push_back(NewF); in ExtractLoops()
594 Function *NewF = ProgClone->getFunction(MisCompFunctions[i].first); in ExtractBlocks() local
595 assert(NewF && "Function not found??"); in ExtractBlocks()
596 MiscompiledFunctions.push_back(NewF); in ExtractBlocks()