• Home
  • Raw
  • Download

Lines Matching refs:Function

36 template class llvm::SymbolTableListTraits<Argument, Function>;
37 template class llvm::SymbolTableListTraits<BasicBlock, Function>;
45 Argument::Argument(Type *Ty, const Twine &Name, Function *Par) in Argument()
57 void Argument::setParent(Function *parent) { in setParent()
68 const Function *F = getParent(); in getArgNo()
71 Function::const_arg_iterator AI = F->arg_begin(); in getArgNo()
190 LLVMContext &Function::getContext() const { in getContext()
194 FunctionType *Function::getFunctionType() const { in getFunctionType()
198 bool Function::isVarArg() const { in isVarArg()
202 Type *Function::getReturnType() const { in getReturnType()
206 void Function::removeFromParent() { in removeFromParent()
210 void Function::eraseFromParent() { in eraseFromParent()
218 Function::Function(FunctionType *Ty, LinkageTypes Linkage, in Function() function in Function
242 Function::~Function() { in ~Function()
257 void Function::BuildLazyArguments() const { in BuildLazyArguments()
268 const_cast<Function*>(this)->setValueSubclassData(SDC &= ~1); in BuildLazyArguments()
271 size_t Function::arg_size() const { in arg_size()
274 bool Function::arg_empty() const { in arg_empty()
278 void Function::setParent(Module *parent) { in setParent()
294 void Function::dropAllReferences() { in dropAllReferences()
307 void Function::addAttribute(unsigned i, Attribute::AttrKind attr) { in addAttribute()
313 void Function::addAttributes(unsigned i, AttributeSet attrs) { in addAttributes()
319 void Function::removeAttributes(unsigned i, AttributeSet attrs) { in removeAttributes()
329 static DenseMap<const Function*,PooledStringPtr> *GCNames;
333 bool Function::hasGC() const { in hasGC()
338 const char *Function::getGC() const { in getGC()
344 void Function::setGC(const char *Str) { in setGC()
349 GCNames = new DenseMap<const Function*,PooledStringPtr>(); in setGC()
353 void Function::clearGC() { in clearGC()
370 void Function::copyAttributesFrom(const GlobalValue *Src) { in copyAttributesFrom()
371 assert(isa<Function>(Src) && "Expected a Function!"); in copyAttributesFrom()
373 const Function *SrcF = cast<Function>(Src); in copyAttributesFrom()
394 unsigned Function::getIntrinsicID() const { in getIntrinsicID()
411 unsigned Function::lookupIntrinsicID() const { in lookupIntrinsicID()
725 Function *Intrinsic::getDeclaration(Module *M, ID id, ArrayRef<Type*> Tys) { in getDeclaration()
729 cast<Function>(M->getOrInsertFunction(getName(id, Tys), in getDeclaration()
745 bool Function::hasAddressTaken(const User* *PutOffender) const { in hasAddressTaken()
759 bool Function::isDefTriviallyDead() const { in isDefTriviallyDead()
775 bool Function::callsFunctionThatReturnsTwice() const { in callsFunctionThatReturnsTwice()
786 Constant *Function::getPrefixData() const { in getPrefixData()
794 void Function::setPrefixData(Constant *PrefixData) { in setPrefixData()