Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp52 Value *const Identity) const;
54 Value *const Identity) const;
299 {Identity, V, B.getInt32(DPP::ROW_XMASK0 | 1 << Idx), in buildReduction()
342 {Identity, V, B.getInt32(DPP::ROW_SHR0 | 1 << Idx), in buildScan()
370 {Identity, PermX, B.getInt32(DPP::QUAD_PERM_ID), in buildScan()
379 {Identity, Lane31, B.getInt32(DPP::QUAD_PERM_ID), in buildScan()
410 {Identity, V, B.getInt32(DPP::ROW_SHR0 + 1), in buildShiftRight()
544 NewV = buildReduction(B, ScanOp, NewV, Identity); in optimizeAtomic()
546 NewV = buildScan(B, ScanOp, NewV, Identity); in optimizeAtomic()
548 ExclScan = buildShiftRight(B, NewV, Identity); in optimizeAtomic()
[all …]
/llvm-project-15.0.7/clang/test/Parser/
H A Dcxx1z-fold-expressions.cpp54 template <auto V> constexpr auto Identity = V; variable
58 return Identity<(Identity<0> >> ... >> N)> + in nestedFoldOperator()
59 Identity<(N >> ... >> Identity<0>)>; in nestedFoldOperator()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Ddebug-info.cpp25 template<typename T> struct Identity { struct
29 void f(Identity<int>::Type a) {} in f() argument
30 void f(Identity<int> a) {} in f()
/llvm-project-15.0.7/llvm/unittests/Analysis/Inputs/ir2native_x86_64_model/
H A Dsaved_model.pbtxt1129 op: "Identity"
1175 op: "Identity"
1221 op: "Identity"
1267 op: "Identity"
1313 op: "Identity"
1359 op: "Identity"
1405 op: "Identity"
1451 op: "Identity"
1622 op: "Identity"
1655 op: "Identity"
[all …]
/llvm-project-15.0.7/libcxx/test/libcxx/type_traits/
H A Dlazy_metafunctions.pass.cpp22 struct Identity : Type { struct
29 typedef Identity<TrueT> LazyTrueT;
30 typedef Identity<FalseT> LazyFalseT;
/llvm-project-15.0.7/clang/test/Modules/Inputs/
H A Dcxx-templates-b.h34 template<typename T, typename> struct Identity { typedef T type; };
36 typename Identity<DefinedInBImpl, T>::type dependent;
38 typename Identity<DefinedInBImpl, T>::type::Inner inner;
/llvm-project-15.0.7/libcxx/test/libcxx/input.output/filesystems/class.path/path.req/
H A Dis_pathable.pass.cpp35 struct Identity { typedef Tp type; }; argument
38 Identity<Source> CheckSourceType(Source const&);
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dfold-character.cpp36 static std::optional<Scalar<T>> Identity( in Identity() function
72 if (auto identity{Identity<T>( in FoldIntrinsicFunction()
84 if (auto identity{Identity<T>( in FoldIntrinsicFunction()
/llvm-project-15.0.7/libcxx/test/support/
H A Duses_alloc_types.h120 struct Identity { typedef T type; };
123 using IdentityT = typename Identity<T>::type;
254 typename detail::Identity<LArgs>::type..., CtorAlloc const& alloc) {
/llvm-project-15.0.7/clang/lib/Analysis/
H A DRetainSummaryManager.cpp735 return BehaviorSummary::Identity; in canEval()
752 return BehaviorSummary::Identity; in canEval()
763 return BehaviorSummary::Identity; in canEval()
773 return BehaviorSummary::Identity; in canEval()
/llvm-project-15.0.7/polly/lib/Support/
H A DISLTools.cpp36 auto Identity = isl::multi_aff::identity(Space); in makeShiftDimAff() local
38 return Identity; in makeShiftDimAff()
39 auto ShiftAff = Identity.at(Pos); in makeShiftDimAff()
41 return Identity.set_aff(Pos, ShiftAff); in makeShiftDimAff()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DInstructionsTest.cpp1021 Constant *Identity = ConstantVector::get({C0, CU, C2, C3, C4}); in TEST() local
1022 EXPECT_TRUE(ShuffleVectorInst::isIdentityMask(Identity)); in TEST()
1023 EXPECT_FALSE(ShuffleVectorInst::isSelectMask(Identity)); // identity is distinguished from select in TEST()
1024 EXPECT_FALSE(ShuffleVectorInst::isReverseMask(Identity)); in TEST()
1025 EXPECT_TRUE(ShuffleVectorInst::isSingleSourceMask(Identity)); // identity is always single source in TEST()
1026 EXPECT_FALSE(ShuffleVectorInst::isZeroEltSplatMask(Identity)); in TEST()
1027 EXPECT_FALSE(ShuffleVectorInst::isTransposeMask(Identity)); in TEST()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DTailRecursionElimination.cpp567 Constant *Identity = ConstantExpr::getBinOpIdentity( in insertAccumulator() local
569 AccPN->addIncoming(Identity, P); in insertAccumulator()
H A DReassociate.cpp643 Constant *Identity = ConstantExpr::getBinOpIdentity(Opcode, I->getType()); in LinearizeExprTree() local
644 assert(Identity && "Associative operation without identity!"); in LinearizeExprTree()
645 Ops.emplace_back(Identity, APInt(Bitwidth, 1)); in LinearizeExprTree()
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dpass-object-size.c309 int Identity(void *p, size_t i) { return i; } in Identity() function
/llvm-project-15.0.7/polly/lib/Analysis/
H A DDependenceInfo.cpp534 isl_map *Identity = in calculateDependences() local
536 RED = isl_union_map_add_map(RED, Identity); in calculateDependences()
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DCMakeLists.txt114 …"Identity override for debugserver; see 'Code Signing on macOS' in the documentation (Darwin only)…
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantFold.cpp881 Constant *Identity = ConstantExpr::getBinOpIdentity(Opcode, C1->getType()); in ConstantFoldBinaryInstruction() local
882 if (Identity) { in ConstantFoldBinaryInstruction()
883 if (C1 == Identity) in ConstantFoldBinaryInstruction()
885 if (C2 == Identity) in ConstantFoldBinaryInstruction()
/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DRetainSummaryManager.h642 Identity,
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/
H A DQuantOps.td203 let summary = "Identity op which associates statistics with the value.";
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLocal.cpp2055 auto Identity = [&](DbgVariableIntrinsic &DII) -> DbgValReplacement { in replaceAllDbgUsesWith() local
2063 return rewriteDebugUsers(From, To, DomPoint, DT, Identity); in replaceAllDbgUsesWith()
2075 return rewriteDebugUsers(From, To, DomPoint, DT, Identity); in replaceAllDbgUsesWith()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBuiltinTypes.td374 // Identity index/layout map
475 row-major layout. Identity layout maps do not contribute to the MemRef type
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dbswap-vector.ll262 ; Double BSWAP -> Identity
/llvm-project-15.0.7/mlir/test/IR/
H A Daffine-map.mlir3 // Identity maps used in trivial compositions in MemRefs are optimized away.
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp918 if (BSmr == BehaviorSummary::Identity || in evalCall()

12