Lines Matching refs:Function
34 template class llvm::SymbolTableListTraits<Argument, Function>;
35 template class llvm::SymbolTableListTraits<BasicBlock, Function>;
41 Argument::Argument(Type *Ty, const Twine &Name, Function *Par) in Argument()
53 void Argument::setParent(Function *parent) { in setParent()
64 const Function *F = getParent(); in getArgNo()
67 Function::const_arg_iterator AI = F->arg_begin(); in getArgNo()
133 LLVMContext &Function::getContext() const { in getContext()
137 FunctionType *Function::getFunctionType() const { in getFunctionType()
141 bool Function::isVarArg() const { in isVarArg()
145 Type *Function::getReturnType() const { in getReturnType()
149 void Function::removeFromParent() { in removeFromParent()
153 void Function::eraseFromParent() { in eraseFromParent()
161 Function::Function(FunctionType *Ty, LinkageTypes Linkage, in Function() function in Function
185 Function::~Function() { in ~Function()
196 void Function::BuildLazyArguments() const { in BuildLazyArguments()
207 const_cast<Function*>(this)->setValueSubclassData(SDC &= ~1); in BuildLazyArguments()
210 size_t Function::arg_size() const { in arg_size()
213 bool Function::arg_empty() const { in arg_empty()
217 void Function::setParent(Module *parent) { in setParent()
233 void Function::dropAllReferences() { in dropAllReferences()
243 void Function::addAttribute(unsigned i, Attributes attr) { in addAttribute()
249 void Function::removeAttribute(unsigned i, Attributes attr) { in removeAttribute()
259 static DenseMap<const Function*,PooledStringPtr> *GCNames;
263 bool Function::hasGC() const { in hasGC()
268 const char *Function::getGC() const { in getGC()
274 void Function::setGC(const char *Str) { in setGC()
279 GCNames = new DenseMap<const Function*,PooledStringPtr>(); in setGC()
283 void Function::clearGC() { in clearGC()
300 void Function::copyAttributesFrom(const GlobalValue *Src) { in copyAttributesFrom()
301 assert(isa<Function>(Src) && "Expected a Function!"); in copyAttributesFrom()
303 const Function *SrcF = cast<Function>(Src); in copyAttributesFrom()
319 unsigned Function::getIntrinsicID() const { in getIntrinsicID()
386 Function *Intrinsic::getDeclaration(Module *M, ID id, ArrayRef<Type*> Tys) { in getDeclaration()
390 cast<Function>(M->getOrInsertFunction(getName(id, Tys), in getDeclaration()
401 bool Function::hasAddressTaken(const User* *PutOffender) const { in hasAddressTaken()
418 bool Function::callsFunctionThatReturnsTwice() const { in callsFunctionThatReturnsTwice()
432 if (const Function *Callee = M->getFunction(ReturnsTwiceFns[I])) { in callsFunctionThatReturnsTwice()