reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/AsmParser/LLParser.cpp
   68   if (Context.shouldDiscardValueNames())
  136       AS = AS.removeAttributes(Context, AttributeList::FunctionIndex);
  147       AS = AS.addAttributes(Context, AttributeList::FunctionIndex,
  148                             AttributeSet::get(Context, FnAttrs));
  153       AS = AS.removeAttributes(Context, AttributeList::FunctionIndex);
  155       AS = AS.addAttributes(Context, AttributeList::FunctionIndex,
  156                             AttributeSet::get(Context, FnAttrs));
  161       AS = AS.removeAttributes(Context, AttributeList::FunctionIndex);
  163       AS = AS.addAttributes(Context, AttributeList::FunctionIndex,
  164                             AttributeSet::get(Context, FnAttrs));
  169       AS = AS.removeAttributes(Context, AttributeList::FunctionIndex);
  171       AS = AS.addAttributes(Context, AttributeList::FunctionIndex,
  172                             AttributeSet::get(Context, FnAttrs));
  177       GV->setAttributes(AttributeSet::get(Context,Attrs));
  669   Result = MDString::get(Context, Str);
  690   FwdRef = std::make_pair(MDTuple::getTemporary(Context, None), IDLoc);
 1148     GV->setAttributes(AttributeSet::get(Context, Attrs));
 2233     SSID = Context.getOrInsertSyncScopeID(SSN);
 2354       Entry.first = StructType::create(Context, Lex.getStrVal());
 2369       Entry.first = StructType::create(Context);
 2678   Result = StructType::get(Context, Elts, Packed);
 2698       Entry.first = StructType::create(Context, Name);
 2724     Entry.first = StructType::create(Context, Name);
 3098     ID.ConstantVal = ConstantInt::getTrue(Context);
 3102     ID.ConstantVal = ConstantInt::getFalse(Context);
 3204     ID.ConstantVal = ConstantDataArray::getString(Context, Lex.getStrVal(),
 3274         FwdRef = new GlobalVariable(*M, Type::getInt8Ty(Context), false,
 3728   MD = (IsDistinct ? MDTuple::getDistinct : MDTuple::get)(Context, Elts);
 4305   Result.assign(S.empty() ? nullptr : MDString::get(Context, S));
 4421       GET_OR_DISTINCT(DILocation, (Context, line.Val, column.Val, scope.Val,
 4437                            (Context, tag.Val, header.Val, operands.Val));
 4453         DISubrange, (Context, count.getMDSignedValue(), lowerBound.Val));
 4456         DISubrange, (Context, count.getMDFieldValue(), lowerBound.Val));
 4480       GET_OR_DISTINCT(DIEnumerator, (Context, Value, isUnsigned.Val, name.Val));
 4499   Result = GET_OR_DISTINCT(DIBasicType, (Context, tag.Val, name.Val, size.Val,
 4531                            (Context, tag.Val, name.Val, file.Val, line.Val,
 4562             Context, *identifier.Val, tag.Val, name.Val, file.Val, line.Val,
 4574       (Context, tag.Val, name.Val, file.Val, line.Val, scope.Val, baseType.Val,
 4590                            (Context, flags.Val, cc.Val, types.Val));
 4621   Result = GET_OR_DISTINCT(DIFile, (Context, filename.Val, directory.Val,
 4659       Context, language.Val, file.Val, producer.Val, isOptimized.Val, flags.Val,
 4714       (Context, scope.Val, name.Val, linkageName.Val, file.Val, line.Val,
 4733       DILexicalBlock, (Context, scope.Val, file.Val, line.Val, column.Val));
 4748                            (Context, scope.Val, file.Val, discriminator.Val));
 4765                            (Context, scope.Val, declaration.Val, name.Val,
 4781                            (Context, scope.Val, name.Val, exportSymbols.Val));
 4797                            (Context, type.Val, line.Val, name.Val, value.Val));
 4813                            (Context, type.Val, line.Val, file.Val, nodes.Val));
 4830   Result = GET_OR_DISTINCT(DIModule, (Context, scope.Val, name.Val,
 4845       GET_OR_DISTINCT(DITemplateTypeParameter, (Context, name.Val, type.Val));
 4862                            (Context, tag.Val, name.Val, type.Val, value.Val));
 4889                       (Context, scope.Val, name.Val, linkageName.Val, file.Val,
 4916                            (Context, scope.Val, name.Val, file.Val, line.Val,
 4933                            (Context, scope.Val, name.Val, file.Val, line.Val));
 4980   Result = GET_OR_DISTINCT(DIExpression, (Context, Elements));
 4995       GET_OR_DISTINCT(DIGlobalVariableExpression, (Context, var.Val, expr.Val));
 5015                            (Context, name.Val, file.Val, line.Val, setter.Val,
 5036       (Context, tag.Val, scope.Val, entity.Val, file.Val, line.Val, name.Val));
 5058   V = MetadataAsValue::get(Context, MD);
 5165     V = ConstantInt::get(Context, ID.APSIntVal);
 5183     V = ConstantFP::get(Context, ID.APFloatVal);
 5429       AttributeList::get(Context, AttributeSet::get(Context, FuncAttrs),
 5429       AttributeList::get(Context, AttributeSet::get(Context, FuncAttrs),
 5430                          AttributeSet::get(Context, RetAttrs), Attrs);
 5701   case lltok::kw_unreachable: Inst = new UnreachableInst(Context); return false;
 5906     Inst = ReturnInst::Create(Context);
 5917   Inst = ReturnInst::Create(Context, RV);
 5935   if (Op0->getType() != Type::getInt1Ty(Context))
 6120       AttributeList::get(Context, AttributeSet::get(Context, FnAttrs),
 6120       AttributeList::get(Context, AttributeSet::get(Context, FnAttrs),
 6121                          AttributeSet::get(Context, RetAttrs), ArgAttrs);
 6184   if (ParseValue(Type::getTokenTy(Context), CleanupPad, PFS))
 6213   if (ParseValue(Type::getTokenTy(Context), CatchPad, PFS))
 6237   if (ParseValue(Type::getTokenTy(Context), ParentPad, PFS))
 6286   if (ParseValue(Type::getTokenTy(Context), CatchSwitch, PFS))
 6309   if (ParseValue(Type::getTokenTy(Context), ParentPad, PFS))
 6450       AttributeList::get(Context, AttributeSet::get(Context, FnAttrs),
 6450       AttributeList::get(Context, AttributeSet::get(Context, FnAttrs),
 6451                          AttributeSet::get(Context, RetAttrs), ArgAttrs);
 6665       ParseValue(Type::getLabelTy(Context), Op1, PFS) ||
 6686         ParseValue(Type::getLabelTy(Context), Op1, PFS) ||
 6850       AttributeList::get(Context, AttributeSet::get(Context, FnAttrs),
 6850       AttributeList::get(Context, AttributeSet::get(Context, FnAttrs),
 6851                          AttributeSet::get(Context, RetAttrs), Attrs);
 7175   Inst = new FenceInst(Context, Ordering, SSID);
lib/AsmParser/LLParser.h
  186     LLVMContext &getContext() { return Context; }