Lines Matching defs:intrinsic
1 //===- IntrinsicEmitter.cpp - Generate intrinsic information --------------===//
9 // This tablegen backend emits information about intrinsic functions.
38 cl::OptionCategory GenIntrinsicCat("Options for -gen-intrinsic-enums");
40 IntrinsicPrefix("intrinsic-prefix",
90 // Emit the intrinsic ID -> name table.
93 // Emit the intrinsic ID -> overload table.
96 // Emit the intrinsic declaration generator.
99 // Emit the intrinsic parameter attributes.
148 // Assign a value to the first intrinsic in this target set so that all
149 // intrinsic ids are distinct.
227 OS << " // Note that entry #0 is the invalid intrinsic!\n";
240 // Add one to the index so we emit a null bit for the invalid #0 intrinsic.
247 // OTable contains a true bit at the position if the intrinsic is overloaded.
253 /// intrinsic into 32 bits, return it. If not, return ~0U.
270 // If we can compute a 32-bit fixed encoding for this intrinsic, do so and
280 // Get the signature for the intrinsic.
315 OS << "// Global intrinsic function declaration type table.\n";
550 const CodeGenIntrinsic &intrinsic = Ints[i];
552 std::max(maxArgAttrs, unsigned(intrinsic.ArgumentAttributes.size()));
553 unsigned &N = UniqAttributes[&intrinsic];
565 const CodeGenIntrinsic &intrinsic = Ints[i];
567 OS << " " << UniqAttributes[&intrinsic] << ", // " << intrinsic.Name
648 OS << "// Get the LLVM intrinsic that corresponds to a builtin.\n";
716 static TableGen::Emitter::Opt X("gen-intrinsic-enums", EmitIntrinsicEnums,
717 "Generate intrinsic enums");
723 static TableGen::Emitter::Opt Y("gen-intrinsic-impl", EmitIntrinsicImpl,
724 "Generate intrinsic information");