Lines Matching refs:getContext
317 AL = AL.addParamAttributes(Parent->getContext(), getArgNo(), B); in addAttrs()
335 AL = AL.removeParamAttributes(Parent->getContext(), getArgNo(), AM); in removeAttrs()
359 LLVMContext &Function::getContext() const { in getContext() function in Function
360 return getType()->getContext(); in getContext()
385 AttrBuilder B(F->getContext()); in createWithDefaultAttr()
405 StringRef DefaultCPU = F->getContext().getDefaultTargetCPU(); in createWithDefaultAttr()
408 StringRef DefaultFeatures = F->getContext().getDefaultTargetFeatures(); in createWithDefaultAttr()
491 if (!getContext().shouldDiscardValueNames()) in Function()
513 setAttributes(Intrinsic::getAttributes(getContext(), IntID, Ty)); in Function()
621 auto *CPN = ConstantPointerNull::get(PointerType::get(getContext(), 0)); in deleteBodyImpl()
634 AttributeSets = AttributeSets.addAttributeAtIndex(getContext(), i, Attr); in addAttributeAtIndex()
638 AttributeSets = AttributeSets.addFnAttribute(getContext(), Kind); in addFnAttr()
642 AttributeSets = AttributeSets.addFnAttribute(getContext(), Kind, Val); in addFnAttr()
646 AttributeSets = AttributeSets.addFnAttribute(getContext(), Attr); in addFnAttr()
650 AttributeSets = AttributeSets.addFnAttributes(getContext(), Attrs); in addFnAttrs()
654 AttributeSets = AttributeSets.addRetAttribute(getContext(), Kind); in addRetAttr()
658 AttributeSets = AttributeSets.addRetAttribute(getContext(), Attr); in addRetAttr()
662 AttributeSets = AttributeSets.addRetAttributes(getContext(), Attrs); in addRetAttrs()
666 AttributeSets = AttributeSets.addParamAttribute(getContext(), ArgNo, Kind); in addParamAttr()
670 AttributeSets = AttributeSets.addParamAttribute(getContext(), ArgNo, Attr); in addParamAttr()
674 AttributeSets = AttributeSets.addParamAttributes(getContext(), ArgNo, Attrs); in addParamAttrs()
678 AttributeSets = AttributeSets.removeAttributeAtIndex(getContext(), i, Kind); in removeAttributeAtIndex()
682 AttributeSets = AttributeSets.removeAttributeAtIndex(getContext(), i, Kind); in removeAttributeAtIndex()
686 AttributeSets = AttributeSets.removeFnAttribute(getContext(), Kind); in removeFnAttr()
690 AttributeSets = AttributeSets.removeFnAttribute(getContext(), Kind); in removeFnAttr()
694 AttributeSets = AttributeSets.removeFnAttributes(getContext(), AM); in removeFnAttrs()
698 AttributeSets = AttributeSets.removeRetAttribute(getContext(), Kind); in removeRetAttr()
702 AttributeSets = AttributeSets.removeRetAttribute(getContext(), Kind); in removeRetAttr()
706 AttributeSets = AttributeSets.removeRetAttributes(getContext(), Attrs); in removeRetAttrs()
710 AttributeSets = AttributeSets.removeParamAttribute(getContext(), ArgNo, Kind); in removeParamAttr()
714 AttributeSets = AttributeSets.removeParamAttribute(getContext(), ArgNo, Kind); in removeParamAttr()
719 AttributeSets.removeParamAttributes(getContext(), ArgNo, Attrs); in removeParamAttrs()
724 AttributeSets.addDereferenceableParamAttr(getContext(), ArgNo, Bytes); in addDereferenceableParamAttr()
781 getContext().emitError("cannot parse integer attribute " + Name); in getFnAttributeAsParsedInteger()
795 AttributeSets = AttributeSets.addDereferenceableOrNullParamAttr(getContext(), in addDereferenceableOrNullParamAttr()
800 AttributeSets = AttributeSets.addRangeRetAttr(getContext(), CR); in addRangeRetAttr()
833 return getContext().getGC(*this); in getGC()
838 getContext().setGC(*this, std::move(Str)); in setGC()
844 getContext().deleteGC(*this); in clearGC()
876 addFnAttr(Attribute::getWithMemoryEffects(getContext(), ME)); in setMemoryEffects()
1075 auto *CPN = ConstantPointerNull::get(PointerType::get(getContext(), 0)); in allocHungoffUselist()
1087 Op<Idx>().set(ConstantPointerNull::get(PointerType::get(getContext(), 0))); in setHungoffOperand()
1110 MDBuilder MDB(getContext()); in setEntryCount()