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

/external/llvm/lib/VMCore/
H A DMetadata.cpp167 const Function *F = 0, *NewF = 0; local
171 NewF = assertLocalFunction(MD);
173 NewF = getFunctionForValue(V);
176 F = NewF;
178 assert((NewF == 0 || F == NewF) &&"inconsistent function-local metadata");
H A DModule.cpp158 Constant *NewF = getOrInsertFunction(Name, Ty); local
160 return NewF;
H A DConstants.cpp1306 Function *NewF = getFunction(); local
1310 NewF = cast<Function>(To);
1317 getContext().pImpl->BlockAddresses[std::make_pair(NewF, NewBB)];
1326 setOperand(0, NewF);
/external/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp561 bool insert(ComparableFunction &NewF);
811 bool MergeFunctions::insert(ComparableFunction &NewF) { argument
812 std::pair<FnSetType::iterator, bool> Result = FnSet.insert(NewF);
814 DEBUG(dbgs() << "Inserting as unique: " << NewF.getFunc()->getName() << '\n');
822 NewF.getFunc()->mayBeOverridden());
825 << NewF.getFunc()->getName() << '\n');
827 Function *DeleteF = NewF.getFunc();
828 NewF.release();
/external/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp3560 Formula NewF = F; local
3561 NewF.AM.BaseOffs = Offs;
3562 if (!isLegalUse(NewF.AM, LU.MinOffset, LU.MaxOffset,
3565 NewF.ScaledReg = SE.getAddExpr(NegImmS, NewF.ScaledReg);
3570 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(NewF.ScaledReg))
3572 (NewF.AM.BaseOffs < 0) &&
3574 .ule(abs64(NewF.AM.BaseOffs)))
3578 (void)InsertFormula(LU, LUIdx, NewF);
3585 Formula NewF local
3805 Formula NewF = F; local
3820 Formula NewF = F; local
[all...]
/external/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp177 Function *NewF = Function::Create(FTy, F->getLinkage(), F->getName()); local
180 Function::arg_iterator DestI = NewF->arg_begin();
189 CloneFunctionInto(NewF, F, VMap, ModuleLevelChanges, Returns, "", CodeInfo);
190 return NewF;
/external/llvm/tools/bugpoint/
H A DMiscompilation.cpp412 Function *NewF = ToNotOptimize->getFunction(MisCompFunctions[i].first); local
414 assert(NewF && "Function not found??");
415 MiscompiledFunctions.push_back(NewF);
594 Function *NewF = ProgClone->getFunction(MisCompFunctions[i].first); local
595 assert(NewF && "Function not found??");
596 MiscompiledFunctions.push_back(NewF);

Completed in 173 milliseconds