Home
last modified time | relevance | path

Searched refs:Pure (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/Sema/
H A DOpenCLBuiltins.td305 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 Dtrivial-function-with-attributes.ll57 ; CHECK: [[FN5]] = OpFunction [[VOID]] Pure [[FN]]
71 ; CHECK: [[FN7]] = OpFunction [[VOID]] Inline|Pure [[FN]]
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-purity.cpp43 if (std::holds_alternative<parser::PrefixSpec::Pure>(prefix.u)) { in HasPurePrefix()
H A Dcheck-declarations.cpp2246 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 Dcharacteristics.h302 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 Delf-globaladdress.ll57 ; Pure address-calculation against var64
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Dfdeclare-opencl-builtins.cl27 // Test that Attr.Pure from OpenCLBuiltins.td is lowered to a readonly attribute.
/llvm-project-15.0.7/mlir/test/Conversion/SPIRVToLLVM/
H A Dfunc-ops-to-llvm.mlir43 spv.func @pure() "Pure" {
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDebugInfoFlags.def86 HANDLE_DISP_FLAG((1u << 5), Pure)
/llvm-project-15.0.7/lldb/third_party/Python/module/pexpect-4.6/
H A DREADME.rst6 Pexpect is a Pure Python Expect-like module
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dcharacteristics.cpp454 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 Dintrinsics.cpp1896 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 DSPIRVCallLowering.cpp56 FuncControl |= static_cast<uint32_t>(SPIRV::FunctionControl::Pure); in getFunctionControl()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/MCTargetDesc/
H A DSPIRVBaseInfo.h642 Pure = 0x4, enumerator
H A DSPIRVBaseInfo.cpp881 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 Ddeduplication.mlir255 spv.func @baz_no_return_another_control(%arg0: i32) -> () "Inline|Pure" {
/llvm-project-15.0.7/flang/lib/Parser/
H A Dprogram-parsers.cpp476 construct<PrefixSpec>(construct<PrefixSpec::Pure>("PURE"_tok)),
/llvm-project-15.0.7/mlir/python/
H A DCMakeLists.txt12 # Pure python sources and generated code
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCommentCommands.td312 def Pure : PropertyCommand<"pure">;
/llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/
H A Dstructure-ops.mlir259 // 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 DSPIRVStructureOps.td285 spv.func @bar() -> () "Inline|Pure" { ... }
/llvm-project-15.0.7/mlir/cmake/modules/
H A DAddMLIRPython.cmake213 # Pure python sources to link into the tree.
/llvm-project-15.0.7/flang/include/flang/Parser/
H A Ddump-parse-tree.h594 NODE(PrefixSpec, Pure) in NODE()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXCursor.cpp61 case attr::Pure: in GetCursorKind()
/llvm-project-15.0.7/clang/unittests/AST/
H A DStructuralEquivalenceTest.cpp489 TEST_F(StructuralEquivalenceCXXMethodTest, Pure) { in TEST_F() argument

12