Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp561 bool insert(ComparableFunction &NewF);
811 bool MergeFunctions::insert(ComparableFunction &NewF) { in insert() argument
812 std::pair<FnSetType::iterator, bool> Result = FnSet.insert(NewF); in insert()
814 DEBUG(dbgs() << "Inserting as unique: " << NewF.getFunc()->getName() << '\n'); in insert()
822 NewF.getFunc()->mayBeOverridden()); in insert()
825 << NewF.getFunc()->getName() << '\n'); in insert()
827 Function *DeleteF = NewF.getFunc(); in insert()
828 NewF.release(); in insert()
/external/llvm/lib/VMCore/
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.cpp158 Constant *NewF = getOrInsertFunction(Name, Ty); in getOrInsertFunction() local
160 return NewF; in getOrInsertFunction()
DConstants.cpp1306 Function *NewF = getFunction(); in replaceUsesOfWithOnConstant() local
1310 NewF = cast<Function>(To); in replaceUsesOfWithOnConstant()
1317 getContext().pImpl->BlockAddresses[std::make_pair(NewF, NewBB)]; in replaceUsesOfWithOnConstant()
1326 setOperand(0, NewF); in replaceUsesOfWithOnConstant()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp3560 Formula NewF = F; in GenerateCrossUseConstantOffsets() local
3561 NewF.AM.BaseOffs = Offs; in GenerateCrossUseConstantOffsets()
3562 if (!isLegalUse(NewF.AM, LU.MinOffset, LU.MaxOffset, in GenerateCrossUseConstantOffsets()
3565 NewF.ScaledReg = SE.getAddExpr(NegImmS, NewF.ScaledReg); in GenerateCrossUseConstantOffsets()
3570 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(NewF.ScaledReg)) in GenerateCrossUseConstantOffsets()
3572 (NewF.AM.BaseOffs < 0) && in GenerateCrossUseConstantOffsets()
3574 .ule(abs64(NewF.AM.BaseOffs))) in GenerateCrossUseConstantOffsets()
3578 (void)InsertFormula(LU, LUIdx, NewF); in GenerateCrossUseConstantOffsets()
3585 Formula NewF = F; in GenerateCrossUseConstantOffsets() local
3586 NewF.AM.BaseOffs = (uint64_t)NewF.AM.BaseOffs + Imm; in GenerateCrossUseConstantOffsets()
[all …]
/external/llvm/lib/Transforms/Utils/
DCloneFunction.cpp177 Function *NewF = Function::Create(FTy, F->getLinkage(), F->getName()); in CloneFunction() local
180 Function::arg_iterator DestI = NewF->arg_begin(); in CloneFunction()
189 CloneFunctionInto(NewF, F, VMap, ModuleLevelChanges, Returns, "", CodeInfo); in CloneFunction()
190 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()