aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
AgeCommit message (Collapse)Author
2024-02-21LLVM: Remove unused from llvm/bindings.zig and zig_llvm.h/.cppantlilja
2024-02-21LLVM: Remove use of LLVM in Builderantlilja
2024-02-21LLVM Builder: Emit debug info and metadataantlilja
2024-02-21LLVM: Add Metadata/Debug bitcode IRantlilja
2024-02-21codegen/llvm: Remove use of DIBuilder and output bin by parsing bitcodeantlilja
2024-02-21Add LLVM bindings for parsing LLVM bitcodeantlilja
2024-02-21LLVM: Emit bitcode even if libllvm is not presentantlilja
2024-02-21LLVM Builder: Add debug locations to instructionsantlilja
2024-02-21LLVM Builder: Add debug/metadata systemantlilja
2024-02-21LLVM: Add toBitcode to Builderantlilja
2024-02-21LLVM IR specific bitcodeantlilja
2024-02-21Add LLVM bitcode writerantlilja
2024-02-21LLVM Builder: Add dbg.declare and dbg.value intrinsicsantlilja
2024-02-21LLVM Builder: Add integer values to more enums fieldsantlilja
2024-02-21Fix FastMath packed structantlilja
* Added missing legacy field (unused_algebra) * Made struct correct size (u32 -> u8)
2024-02-21Added value_indices and valueIndex to Functionantlilja
value_indices keeps track of the value index of each instruction in the function (i.e skips instruction which do not have a result)
2024-02-21Made .block = false in WipFunction.hasResultWipantlilja
2024-02-21Builder: Add function_attributes_setantlilja
2024-02-21Added opcode functions to Instruction/Constant.Tagantlilja
2024-02-21Added values to AtomicRmw.Operation enum fieldsantlilja
2024-02-21Fixed values in AtomicOrdering enumantlilja
2024-02-21LLVM Builder: Add toLlvm helper to Alignmentantlilja
2024-02-21LLVM Builder: Add strtab helper to Stringantlilja
2024-02-21LLVM Builder: Make Type.Simple reflect LLVM codesantlilja
2024-02-21LLVM: Make sure child types get added firstantlilja
The LLVM bitcode requires all type references in structs to be to earlier defined types. We make sure types are ordered in the builder itself in order to avoid having to iterate the types multiple times and changing the values of type indicies.
2024-02-21LLVM: Assign correct values to enum/union tagsantlilja
2024-02-20llvm: fix c abi for structs not passed in registersJacob Young
Closes #18916
2024-02-19cbe: make more use of `InternPool.Index.Slice`Jacob Young
Attempts to fix the current CI failures introduced by #18983.
2024-02-17Merge pull request #18948 from alichraghi/vectorRobin Voetter
spirv: use extended instructions whenever possible
2024-02-16InternPool: make more use of `NullTerminatedString.Slice`Jacob Young
This should avoid the random pointer invalidation crashes. Closes #18954
2024-02-15spirv: add capability to compile with x86_64 backendAli Chraghi
2024-02-15spirv: use extended instructions whenever possibleAli Chraghi
2024-02-15llvm: fix lowering of recursive debug infoJacob Young
This change allows recursing over types that are currently being resolved fully with a second pass of forward resolution. Closes #16414
2024-02-12x86_64: implement c abi for bool vectorsJacob Young
2024-02-10spirv: remove now-redundant isUnused calls from AIR handler functionsAli Chraghi
2024-02-09spirv: emit vectorized operationsAli Chraghi
2024-02-09Merge pull request #18857 from alichraghi/shaderVeikka Tuominen
spirv: make rusticl the primary testing implementation
2024-02-09spirv: make rusticl the primary testing implementationAli Chraghi
2024-02-09spirv: merge `construct(Struct/Vector/Array)` into `constructComposite`Ali Chraghi
2024-02-07Merge pull request #17634 from ianprime0509/type-erased-writerAndrew Kelley
Add type-erased writer and GenericWriter
2024-02-06Builder: fix memory leaksJacob Young
2024-02-05compiler: rename value.zig to Value.zigAndrew Kelley
This commit only does the file rename to be friendlier to version control conflicts.
2024-02-05spirv: support enum integer values in AssemblerAli Chraghi
2024-02-05spirv: emit vectors whenever we canAli Chraghi
2024-02-05spirv: basic shader supportAli Chraghi
2024-02-05Merge pull request #18580 from Snektron/spirv-more-vectorsRobin Voetter
spirv: more vector operations
2024-02-04x86_64: fix errors compiling the compilerJacob Young
This fixes issues targetting both `x86_64-linux` and `x86_64-macos` with the self-hosted backend.
2024-02-04spirv: air vector_store_elementRobin Voetter
2024-02-04spirv: air splatRobin Voetter
2024-02-04spirv: air absRobin Voetter