Lines Matching refs:Function

57 using ProfileCount = Function::ProfileCount;
67 Argument::Argument(Type *Ty, const Twine &Name, Function *Par, unsigned ArgNo) in Argument()
72 void Argument::setParent(Function *parent) { in setParent()
193 LLVMContext &Function::getContext() const { in getContext()
197 unsigned Function::getInstructionCount() const { in getInstructionCount()
205 Function *Function::Create(FunctionType *Ty, LinkageTypes Linkage, in Create()
210 void Function::removeFromParent() { in removeFromParent()
214 void Function::eraseFromParent() { in eraseFromParent()
230 Function::Function(FunctionType *Ty, LinkageTypes Linkage, unsigned AddrSpace, in Function() function in Function
233 OperandTraits<Function>::op_begin(this), 0, Linkage, name, in Function()
259 Function::~Function() { in ~Function()
270 void Function::BuildLazyArguments() const { in BuildLazyArguments()
278 new (Arguments + i) Argument(ArgTy, "", const_cast<Function *>(this), i); in BuildLazyArguments()
284 const_cast<Function*>(this)->setValueSubclassData(SDC &= ~(1<<0)); in BuildLazyArguments()
292 void Function::clearArguments() { in clearArguments()
301 void Function::stealArgumentListFrom(Function &Src) { in stealArgumentListFrom()
346 void Function::dropAllReferences() { in dropAllReferences()
368 void Function::addAttribute(unsigned i, Attribute::AttrKind Kind) { in addAttribute()
374 void Function::addAttribute(unsigned i, Attribute Attr) { in addAttribute()
380 void Function::addAttributes(unsigned i, const AttrBuilder &Attrs) { in addAttributes()
386 void Function::addParamAttr(unsigned ArgNo, Attribute::AttrKind Kind) { in addParamAttr()
392 void Function::addParamAttr(unsigned ArgNo, Attribute Attr) { in addParamAttr()
398 void Function::addParamAttrs(unsigned ArgNo, const AttrBuilder &Attrs) { in addParamAttrs()
404 void Function::removeAttribute(unsigned i, Attribute::AttrKind Kind) { in removeAttribute()
410 void Function::removeAttribute(unsigned i, StringRef Kind) { in removeAttribute()
416 void Function::removeAttributes(unsigned i, const AttrBuilder &Attrs) { in removeAttributes()
422 void Function::removeParamAttr(unsigned ArgNo, Attribute::AttrKind Kind) { in removeParamAttr()
428 void Function::removeParamAttr(unsigned ArgNo, StringRef Kind) { in removeParamAttr()
434 void Function::removeParamAttrs(unsigned ArgNo, const AttrBuilder &Attrs) { in removeParamAttrs()
440 void Function::addDereferenceableAttr(unsigned i, uint64_t Bytes) { in addDereferenceableAttr()
446 void Function::addDereferenceableParamAttr(unsigned ArgNo, uint64_t Bytes) { in addDereferenceableParamAttr()
452 void Function::addDereferenceableOrNullAttr(unsigned i, uint64_t Bytes) { in addDereferenceableOrNullAttr()
458 void Function::addDereferenceableOrNullParamAttr(unsigned ArgNo, in addDereferenceableOrNullParamAttr()
465 const std::string &Function::getGC() const { in getGC()
470 void Function::setGC(std::string Str) { in setGC()
475 void Function::clearGC() { in clearGC()
484 void Function::copyAttributesFrom(const Function *Src) { in copyAttributesFrom()
535 Intrinsic::ID Function::lookupIntrinsicID(StringRef Name) { in lookupIntrinsicID()
554 void Function::recalculateIntrinsicID() { in recalculateIntrinsicID()
1020 Function *Intrinsic::getDeclaration(Module *M, ID id, ArrayRef<Type*> Tys) { in getDeclaration()
1024 cast<Function>(M->getOrInsertFunction(getName(id, Tys), in getDeclaration()
1218 Optional<Function*> Intrinsic::remangleIntrinsicFunction(Function *F) { in remangleIntrinsicFunction()
1254 bool Function::hasAddressTaken(const User* *PutOffender) const { in hasAddressTaken()
1274 bool Function::isDefTriviallyDead() const { in isDefTriviallyDead()
1290 bool Function::callsFunctionThatReturnsTwice() const { in callsFunctionThatReturnsTwice()
1299 Constant *Function::getPersonalityFn() const { in getPersonalityFn()
1304 void Function::setPersonalityFn(Constant *Fn) { in setPersonalityFn()
1309 Constant *Function::getPrefixData() const { in getPrefixData()
1314 void Function::setPrefixData(Constant *PrefixData) { in setPrefixData()
1319 Constant *Function::getPrologueData() const { in getPrologueData()
1324 void Function::setPrologueData(Constant *PrologueData) { in setPrologueData()
1329 void Function::allocHungoffUselist() { in allocHungoffUselist()
1345 void Function::setHungoffOperand(Constant *C) { in setHungoffOperand()
1355 void Function::setValueSubclassDataBit(unsigned Bit, bool On) { in setValueSubclassDataBit()
1363 void Function::setEntryCount(ProfileCount Count, in setEntryCount()
1376 void Function::setEntryCount(uint64_t Count, Function::ProfileCountType Type, in setEntryCount()
1381 ProfileCount Function::getEntryCount() const { in getEntryCount()
1402 DenseSet<GlobalValue::GUID> Function::getImportGUIDs() const { in getImportGUIDs()
1414 void Function::setSectionPrefix(StringRef Prefix) { in setSectionPrefix()
1420 Optional<StringRef> Function::getSectionPrefix() const { in getSectionPrefix()
1431 bool Function::nullPointerIsDefined() const { in nullPointerIsDefined()
1437 bool llvm::NullPointerIsDefined(const Function *F, unsigned AS) { in NullPointerIsDefined()