| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | OpenCLBuiltins.td | 305 list<bit> Pure = [1, 0, 0]; 851 … def : Builtin<name, [VectorType<Char, VSize>, Size, PointerType<ConstType<Char>, AS>], Attr.Pure>; 855 … def : Builtin<name, [VectorType<Int, VSize>, Size, PointerType<ConstType<Int>, AS>], Attr.Pure>; 856 … def : Builtin<name, [VectorType<UInt, VSize>, Size, PointerType<ConstType<UInt>, AS>], Attr.Pure>; 893 def : Builtin<"vload_half", [Float, Size, !cast<Type>("HalfPtrConst" # AS)], Attr.Pure>; 1286 def : Builtin<"read_imagef", [VectorType<Float, 4>, ImageType<imgTy, aQual>, Int], Attr.Pure>; 1287 def : Builtin<"read_imagei", [VectorType<Int, 4>, ImageType<imgTy, aQual>, Int], Attr.Pure>; 1288 def : Builtin<"read_imageui", [VectorType<UInt, 4>, ImageType<imgTy, aQual>, Int], Attr.Pure>; 1290 …f : Builtin<"read_imagef", [Float, ImageType<Image2dDepth, aQual>, VectorType<Int, 2>], Attr.Pure>; 1380 … def : Builtin<name, [VectorType<Half, 4>, ImageType<imgTy, aQual>, Sampler, coordTy], Attr.Pure>; [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SPIRV/function/ |
| H A D | trivial-function-with-attributes.ll | 57 ; CHECK: [[FN5]] = OpFunction [[VOID]] Pure [[FN]] 71 ; CHECK: [[FN7]] = OpFunction [[VOID]] Inline|Pure [[FN]]
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | check-purity.cpp | 43 if (std::holds_alternative<parser::PrefixSpec::Pure>(prefix.u)) { in HasPurePrefix()
|
| H A D | check-declarations.cpp | 2246 if (proc1->attrs.test(Procedure::Attr::Pure) != in Check() 2247 proc2->attrs.test(Procedure::Attr::Pure)) { in Check()
|
| /llvm-project-15.0.7/flang/include/flang/Evaluate/ |
| H A D | characteristics.h | 302 Attr, Pure, Elemental, BindC, ImplicitInterface, NullPointer, Subroutine) 327 bool IsPure() const { return attrs.test(Attr::Pure); } in IsPure()
|
| /llvm-project-15.0.7/llvm/test/MC/AArch64/ |
| H A D | elf-globaladdress.ll | 57 ; Pure address-calculation against var64
|
| /llvm-project-15.0.7/clang/test/CodeGenOpenCL/ |
| H A D | fdeclare-opencl-builtins.cl | 27 // Test that Attr.Pure from OpenCLBuiltins.td is lowered to a readonly attribute.
|
| /llvm-project-15.0.7/mlir/test/Conversion/SPIRVToLLVM/ |
| H A D | func-ops-to-llvm.mlir | 43 spv.func @pure() "Pure" {
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | DebugInfoFlags.def | 86 HANDLE_DISP_FLAG((1u << 5), Pure)
|
| /llvm-project-15.0.7/lldb/third_party/Python/module/pexpect-4.6/ |
| H A D | README.rst | 6 Pexpect is a Pure Python Expect-like module
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | characteristics.cpp | 454 result.attrs.set(Procedure::Attr::Pure); in CharacterizeProcedure() 954 if (!attrs.test(Attr::Pure)) { in IsCompatibleWith() 955 actualAttrs.reset(Attr::Pure); in IsCompatibleWith() 1014 if ((that.attrs.test(Attr::Pure) && !attrs.test(Attr::Pure)) || in CanOverride()
|
| H A D | intrinsics.cpp | 1896 attrs.set(characteristics::Procedure::Attr::Pure); in Match() 2130 attrs.set(characteristics::Procedure::Attr::Pure); in HandleNull() 2710 attrs.set(characteristics::Procedure::Attr::Pure) in IsSpecificIntrinsicFunction()
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVCallLowering.cpp | 56 FuncControl |= static_cast<uint32_t>(SPIRV::FunctionControl::Pure); in getFunctionControl()
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/MCTargetDesc/ |
| H A D | SPIRVBaseInfo.h | 642 Pure = 0x4, enumerator
|
| H A D | SPIRVBaseInfo.cpp | 881 if (e == static_cast<uint32_t>(FunctionControl::Pure)) in getFunctionControlName() 883 if (e & static_cast<uint32_t>(FunctionControl::Pure)) { in getFunctionControlName()
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/Linking/ModuleCombiner/ |
| H A D | deduplication.mlir | 255 spv.func @baz_no_return_another_control(%arg0: i32) -> () "Inline|Pure" {
|
| /llvm-project-15.0.7/flang/lib/Parser/ |
| H A D | program-parsers.cpp | 476 construct<PrefixSpec>(construct<PrefixSpec::Pure>("PURE"_tok)),
|
| /llvm-project-15.0.7/mlir/python/ |
| H A D | CMakeLists.txt | 12 # Pure python sources and generated code
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | CommentCommands.td | 312 def Pure : PropertyCommand<"pure">;
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/ |
| H A D | structure-ops.mlir | 259 // CHECK: spv.func @bar(%{{.+}}: i32) -> i32 "Inline|Pure" { 260 spv.func @bar(%arg: i32) -> (i32) "Inline|Pure" {
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVStructureOps.td | 285 spv.func @bar() -> () "Inline|Pure" { ... }
|
| /llvm-project-15.0.7/mlir/cmake/modules/ |
| H A D | AddMLIRPython.cmake | 213 # Pure python sources to link into the tree.
|
| /llvm-project-15.0.7/flang/include/flang/Parser/ |
| H A D | dump-parse-tree.h | 594 NODE(PrefixSpec, Pure) in NODE()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXCursor.cpp | 61 case attr::Pure: in GetCursorKind()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | StructuralEquivalenceTest.cpp | 489 TEST_F(StructuralEquivalenceCXXMethodTest, Pure) { in TEST_F() argument
|