Home
last modified time | relevance | path

Searched refs:Or (Results 1 - 25 of 267) sorted by relevance

1234567891011

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp99 Value *Or = IRB.CreateOr(Cmp2, Cmp3); in getBoundsCheckCond() local
103 Or = IRB.CreateOr(Cmp1, Or); in getBoundsCheckCond()
106 return Or; in getBoundsCheckCond()
111 /// \p Or is the condition that should guard the trap.
115 static void insertBoundsCheck(Value *Or, BuilderTy IRB, GetTrapBBT GetTrapBB) { in insertBoundsCheck() argument
117 ConstantInt *C = dyn_cast_or_null<ConstantInt>(Or); in insertBoundsCheck()
140 BranchInst::Create(GetTrapBB(IRB), Cont, Or, OldBB); in insertBoundsCheck() local
154 Value *Or = nullptr; in addBoundsChecking() local
157 Or in addBoundsChecking()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineAtomicRMW.cpp41 case AtomicRMWInst::Or: in isIdempotentRMW()
80 case AtomicRMWInst::Or: in isSaturating()
139 RMWI.getOperation() != AtomicRMWInst::Or) { in visitAtomicRMWInst()
140 RMWI.setOperation(AtomicRMWInst::Or); in visitAtomicRMWInst()
H A DInstCombineAndOrXor.cpp837 Value *Or = Builder.CreateOr(X, ConstantInt::get(X->getType(), Xor)); in foldAndOrOfEqualityCmpsWithConstants() local
838 return Builder.CreateICmp(Pred, Or, ConstantInt::get(X->getType(), *C2)); in foldAndOrOfEqualityCmpsWithConstants()
906 /// Or
910 /// Or
919 /// Or
1416 assert((Opcode == Instruction::And || Opcode == Instruction::Or) && in reassociateFCmps()
1461 assert((Opcode == Instruction::And || Opcode == Instruction::Or) && in matchDeMorgansLaws()
1465 Opcode = (Opcode == Instruction::And) ? Instruction::Or : Instruction::And; in matchDeMorgansLaws()
1629 assert(I.getOpcode() == Instruction::Or); in foldOrToXor()
1820 case Instruction::Or in visitAnd()
1979 matchBSwap(BinaryOperator &Or) matchBSwap() argument
2028 matchRotate(Instruction &Or) matchRotate() argument
2490 Value *Or = Builder.CreateOr(X, Y); visitOr() local
3085 Value *Or = Builder.CreateOr(X, ConstantExpr::getNot(C2)); visitXor() local
[all...]
/third_party/typescript/tests/baselines/reference/
H A DconditionalTypes1.js173 type Or<A extends boolean, B extends boolean> = If<A, true, B>;
196 type O1 = Or<false, false>; // false
197 type O2 = Or<false, true>; // true
198 type O3 = Or<true, false>; // true
199 type O4 = Or<true, true>; // true
200 type O5 = Or<boolean, false>; // boolean
201 type O6 = Or<false, boolean>; // boolean
202 type O7 = Or<boolean, true>; // true
203 type O8 = Or<true, boolean>; // true
204 type O9 = Or<boolea
[all...]
H A DtypePredicatesInUnion.js9 type Or = A | B;
11 function f(o: Or, x: {}) {
H A DtypePredicatesInUnion_noMatch.js9 type Or = A | B;
11 function f(o: Or, x: {}, y: {}) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
H A DMIPatternMatch.h91 template <typename... Preds> struct Or { struct
99 struct Or<Pred, Preds...> : Or<Preds...> { struct
101 Or(Pred &&p, Preds &&... preds) in Or() function
102 : Or<Preds...>(std::forward<Preds>(preds)...), P(std::forward<Pred>(p)) {} in Or()
105 return P.match(MRI, src) || Or<Preds...>::match(MRI, src); in match()
113 template <typename... Preds> Or<Preds...> m_any_of(Preds &&... preds) { in m_any_of()
114 return Or<Preds...>(std::forward<Preds>(preds)...); in m_any_of()
/third_party/skia/third_party/externals/spirv-tools/test/util/
H A Dbit_vector_test.cpp122 // Check that |bvec1| changed when doing the |Or| operation. in TEST()
123 EXPECT_TRUE(bvec1.Or(bvec2)); in TEST()
142 EXPECT_TRUE(bvec1.Or(bvec2)); in TEST()
158 // |Or| returns false if |bvec1| does not change. in TEST()
159 EXPECT_FALSE(bvec1.Or(bvec2)); in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/util/
H A Dbit_vector_test.cpp122 // Check that |bvec1| changed when doing the |Or| operation. in TEST()
123 EXPECT_TRUE(bvec1.Or(bvec2)); in TEST()
142 EXPECT_TRUE(bvec1.Or(bvec2)); in TEST()
158 // |Or| returns false if |bvec1| does not change. in TEST()
159 EXPECT_FALSE(bvec1.Or(bvec2)); in TEST()
/third_party/spirv-tools/test/util/
H A Dbit_vector_test.cpp122 // Check that |bvec1| changed when doing the |Or| operation. in TEST()
123 EXPECT_TRUE(bvec1.Or(bvec2)); in TEST()
142 EXPECT_TRUE(bvec1.Or(bvec2)); in TEST()
158 // |Or| returns false if |bvec1| does not change. in TEST()
159 EXPECT_FALSE(bvec1.Or(bvec2)); in TEST()
/third_party/skia/src/core/
H A DSkRecordPattern.h87 struct Or { struct
89 bool operator()(T* ptr) { return First()(ptr) || Or<Rest...>()(ptr); } in operator ()()
92 struct Or<First> { struct
H A DSkRecordOpts.cpp79 Greedy<Or<Is<NoOp>, IsDraw>>,
149 Greedy<Not<Or<Is<Save>,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp125 case AtomicRMWInst::Or: in visitAtomicRMWInst()
186 Op = AtomicRMWInst::Or; in visitIntrinsicInst()
259 case AtomicRMWInst::Or: in buildNonAtomicBinOp()
260 return B.CreateBinOp(Instruction::Or, LHS, RHS); in buildNonAtomicBinOp()
393 case AtomicRMWInst::Or: in getIdentityValueForAtomicOp()
532 case AtomicRMWInst::Or: in optimizeAtomic()
629 case AtomicRMWInst::Or: in optimizeAtomic()
H A DSILowerControlFlow.cpp373 MachineInstr *And = nullptr, *Or = nullptr; in emitIfBreak() local
379 Or = BuildMI(MBB, &MI, DL, TII->get(OrOpc), Dst) in emitIfBreak()
385 Or = BuildMI(MBB, &MI, DL, TII->get(OrOpc), Dst) in emitIfBreak()
392 LIS->ReplaceMachineInstrInMaps(MI, *Or); in emitIfBreak()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp54 case Instruction::Or: in getRelevantOperands()
116 case Instruction::Or: in buildTruncExpressionDag()
347 case Instruction::Or: in ReduceExpressionDag()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dcompressed_tuple.h160 std::false_type Or(std::initializer_list<std::false_type>);
161 std::true_type Or(std::initializer_list<bool>);
168 Or({std::integral_constant<bool, ShouldUseBase<Ts>()>()...})){}; in ShouldAnyUseBase()
/third_party/rust/crates/syn/src/
H A Dop.rs19 Or(Token![||]),
110 input.parse().map(BinOp::Or) in parse()
182 BinOp::Or(t) => t.to_tokens(tokens), in to_tokens()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
H A DVPlanPredicator.cpp99 VPValue *Or = Builder.createOr(LHS, RHS); in genPredicateTree() local
102 Worklist.push_back(Or); in genPredicateTree()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DInstruction.h176 return Opcode == And || Opcode == Or || Opcode == Xor; in isBitwiseLogicOp()
483 /// In LLVM, the Add, Mul, And, Or, and Xor operators are associative.
487 return Opcode == And || Opcode == Or || Opcode == Xor || in isAssociative()
503 case And: case Or: case Xor: in isCommutative()
514 /// In LLVM, the And and Or operators are idempotent.
518 return Opcode == And || Opcode == Or; in isIdempotent()
/third_party/skia/third_party/externals/spirv-tools/source/util/
H A Dbit_vector.cpp41 bool BitVector::Or(const BitVector& other) { in Or() function in spvtools::utils::BitVector
H A Dbit_vector.h110 bool Or(const BitVector& that);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
H A Dbit_vector.cpp41 bool BitVector::Or(const BitVector& other) { in Or() function in spvtools::utils::BitVector
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp54 case Instruction::Or: in getIntImmCostInst()
/third_party/spirv-tools/source/util/
H A Dbit_vector.cpp41 bool BitVector::Or(const BitVector& other) { in Or() function in spvtools::utils::BitVector
/third_party/rust/crates/nom/src/
H A Dinternal.rs296 fn or<G>(self, g: G) -> Or<Self, G> in source()
301 Or { f: self, g } in source()
410 pub struct Or<F, G> { structure names
416 Parser<I, O, E> for Or<F, G>

Completed in 17 milliseconds

1234567891011