Home
last modified time | relevance | path

Searched refs:Or (Results 1 – 25 of 543) sorted by relevance

12345678910>>...22

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp98 Value *Or = IRB.CreateOr(Cmp2, Cmp3); in getBoundsCheckCond() local
102 Or = IRB.CreateOr(Cmp1, Or); in getBoundsCheckCond()
105 return Or; in getBoundsCheckCond()
114 static void insertBoundsCheck(Value *Or, BuilderTy &IRB, GetTrapBBT GetTrapBB) { in insertBoundsCheck() argument
116 ConstantInt *C = dyn_cast_or_null<ConstantInt>(Or); in insertBoundsCheck()
139 BranchInst::Create(GetTrapBB(IRB), Cont, Or, OldBB); in insertBoundsCheck()
157 Value *Or = nullptr; in addBoundsChecking() local
161 Or = getBoundsCheckCond(LI->getPointerOperand(), LI, DL, TLI, in addBoundsChecking()
165 Or = getBoundsCheckCond(SI->getPointerOperand(), SI->getValueOperand(), in addBoundsChecking()
169 Or = in addBoundsChecking()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp686 auto Or = [&](auto Lhs, auto Rhs) -> std::pair<Value *, uint8_t> { in simplifyTernarylogic() local
698 auto Nor = [&](auto Lhs, auto Rhs) { return Not(Or(Lhs, Rhs)); }; in simplifyTernarylogic()
732 Res = Nor(Or(A, B), C); in simplifyTernarylogic()
819 Res = Xor(Or(A, B), Or(Xnor(A, B), C)); in simplifyTernarylogic()
831 Res = Xor(A, Or(And(A, B), C)); in simplifyTernarylogic()
835 Res = Xor(A, Or(Xnor(A, B), C)); in simplifyTernarylogic()
839 Res = Xor(A, Or(And(A, C), B)); in simplifyTernarylogic()
843 Res = Xor(A, Or(Xnor(A, C), B)); in simplifyTernarylogic()
847 Res = Xor(A, Or(B, C)); in simplifyTernarylogic()
851 Res = Nand(A, Or(B, C)); in simplifyTernarylogic()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyLogical.cpp51 case LExpr::Or: in implies()
56 return RNeg ? RightAndOperator(cast<Or>(RHS)) in implies()
57 : RightOrOperator(cast<Or>(RHS)); in implies()
76 case LExpr::Or: in implies()
81 return LNeg ? LeftOrOperator(cast<Or>(LHS)) in implies()
82 : LeftAndOperator(cast<Or>(LHS)); in implies()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyLogical.h26 Or, enumerator
75 class Or : public BinOp {
77 Or(LExpr *LHS, LExpr *RHS) : BinOp(LHS, RHS, LExpr::Or) {} in Or() function
79 static bool classof(const LExpr *E) { return E->kind() == LExpr::Or; } in classof()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAtomicRMW.cpp42 case AtomicRMWInst::Or: in isIdempotentRMW()
87 case AtomicRMWInst::Or: in isSaturating()
131 RMWI.getOperation() != AtomicRMWInst::Or) { in visitAtomicRMWInst()
132 RMWI.setOperation(AtomicRMWInst::Or); in visitAtomicRMWInst()
H A DInstCombineAndOrXor.cpp1261 return Builder.CreateBinOp(IsAnd ? Instruction::And : Instruction::Or, Cmp0, in foldAndOrOfICmpsWithConstEq()
1552 case Instruction::Or: in foldLogicOfIsFPClass()
1613 assert((Opcode == Instruction::And || Opcode == Instruction::Or) && in reassociateFCmps()
1658 assert((Opcode == Instruction::And || Opcode == Instruction::Or) && in matchDeMorgansLaws()
1663 (Opcode == Instruction::And) ? Instruction::Or : Instruction::And; in matchDeMorgansLaws()
1869 assert(I.getOpcode() == Instruction::Or); in foldOrToXor()
1954 assert(Opcode == Instruction::And || Opcode == Instruction::Or); in foldComplexAndOrPatterns()
1958 (Opcode == Instruction::And) ? Instruction::Or : Instruction::And; in foldComplexAndOrPatterns()
1993 return (Opcode == Instruction::Or) in foldComplexAndOrPatterns()
2003 return (Opcode == Instruction::Or) in foldComplexAndOrPatterns()
[all …]
/freebsd/sys/contrib/libsodium/packaging/nuget/
H A Dpackage.gsl132 …<ItemDefinitionGroup Condition="'$\(Linkage-$(package.target))' == 'static' Or '$\(Linkage-$(packa…
139 …rm)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)…
144 …rm)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)…
149 …form)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)…
154 …form)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)…
161 …rm)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)…
166 …rm)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)…
171 …form)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)…
176 …form)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)…
183 …rm)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)…
[all …]
/freebsd/contrib/bmake/unit-tests/
H A Dvarmod-order-reverse.mk8 .if ${WORDS:Or} != "two three ten six seven one nine four five eight"
9 . error ${WORDS:Or}
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonPatternsHVX.td396 def: OpR_RR_pat<V6_vor, Or, VecI8, HVI8>;
397 def: OpR_RR_pat<V6_vor, Or, VecI16, HVI16>;
398 def: OpR_RR_pat<V6_vor, Or, VecI32, HVI32>;
800 def: OpR_RR_pat<V6_pred_or, Or, VecQ8, HQ8>;
801 def: OpR_RR_pat<V6_pred_or, Or, VecQ16, HQ16>;
802 def: OpR_RR_pat<V6_pred_or, Or, VecQ32, HQ32>;
810 def: OpR_RR_pat<V6_pred_or_n, VNot2<Or, qnot>, VecQ8, HQ8>;
811 def: OpR_RR_pat<V6_pred_or_n, VNot2<Or, qnot>, VecQ16, HQ16>;
812 def: OpR_RR_pat<V6_pred_or_n, VNot2<Or, qnot>, VecQ32, HQ32>;
825 def: AccRRR_pat<V6_veqb_or, Or, seteq, HQ8, HVI8, HVI8>;
[all …]
H A DHexagonPatterns.td373 def Sub: pf2<sub>; def Or: pf2<or>; def Srl: pf2<srl>;
606 def: OpR_RR_pat<C2_or, Or, i1, I1>;
609 def: OpR_RR_pat<C2_orn, Not2<Or>, i1, I1>;
612 def: AccRRR_pat<C4_and_or, And, Su< Or>, I1, I1, I1>;
613 def: AccRRR_pat<C4_or_and, Or, Su<And>, I1, I1, I1>;
614 def: AccRRR_pat<C4_or_or, Or, Su< Or>, I1, I1, I1>;
616 def: AccRRR_pat<C4_and_orn, And, Su<Not2< Or>>, I1, I1, I1>;
617 def: AccRRR_pat<C4_or_andn, Or, Su<Not2<And>>, I1, I1, I1>;
618 def: AccRRR_pat<C4_or_orn, Or, Su<Not2< Or>>, I1, I1, I1>;
633 defm: BoolvOpR_RR_pat<C2_or, Or>;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerAtomic.cpp56 case AtomicRMWInst::Or: in buildAtomicRMWValue()
94 Value *Or = Builder.CreateOr(CmpEq0, CmpOldGtVal); in buildAtomicRMWValue() local
95 return Builder.CreateSelect(Or, Val, Dec, "new"); in buildAtomicRMWValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSDPatternMatch.h341 template <typename... Preds> struct Or {
348 struct Or<Pred, Preds...> : Or<Preds...> {
350 Or(const Pred &p, const Preds &...preds) : Or<Preds...>(preds...), P(p) {}
354 return P.match(Ctx, N) || Or<Preds...>::match(Ctx, N);
380 template <typename... Preds> Or<Preds...> m_AnyOf(const Preds &...preds) {
381 return Or<Preds...>(preds...);
714 inline Or<UnaryOpc_match<Opnd>, Opnd> m_AExtOrSelf(const Opnd &Op) {
715 return Or<UnaryOpc_match<Opnd>, Opnd>(m_AnyExt(Op), Op);
721 inline Or<UnaryOpc_match<Opnd>, Opnd> m_TruncOrSelf(const Opnd &Op) {
722 return Or<UnaryOpc_match<Opnd>, Opnd>(m_Trunc(Op), Op);
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIOptimizeExecMasking.cpp773 MachineInstr *Or = nullptr; in optimizeOrSaveexecXorSequences() local
775 std::tie(Or, Xor) = Pair; in optimizeOrSaveexecXorSequences()
776 BuildMI(*Or->getParent(), Or->getIterator(), Or->getDebugLoc(), in optimizeOrSaveexecXorSequences()
777 TII->get(Andn2Opcode), Or->getOperand(0).getReg()) in optimizeOrSaveexecXorSequences()
778 .addReg(Or->getOperand(1).getReg()); in optimizeOrSaveexecXorSequences()
780 Or->eraseFromParent(); in optimizeOrSaveexecXorSequences()
H A DSILowerControlFlow.cpp387 MachineInstr *And = nullptr, *Or = nullptr; in emitIfBreak() local
396 Or = BuildMI(MBB, &MI, DL, TII->get(OrOpc), Dst) in emitIfBreak()
400 Or = BuildMI(MBB, &MI, DL, TII->get(OrOpc), Dst) in emitIfBreak()
404 LV->replaceKillInstruction(MI.getOperand(1).getReg(), MI, *Or); in emitIfBreak()
407 LV->replaceKillInstruction(MI.getOperand(2).getReg(), MI, *Or); in emitIfBreak()
410 LIS->ReplaceMachineInstrInMaps(MI, *Or); in emitIfBreak()
H A DAMDGPUAtomicOptimizer.cpp213 case AtomicRMWInst::Or: in visitAtomicRMWInst()
291 Op = AtomicRMWInst::Or; in visitIntrinsicInst()
376 case AtomicRMWInst::Or: in buildNonAtomicBinOp()
377 return B.CreateBinOp(Instruction::Or, LHS, RHS); in buildNonAtomicBinOp()
632 case AtomicRMWInst::Or: in getIdentityValueForAtomicOp()
808 case AtomicRMWInst::Or: in optimizeAtomic()
938 case AtomicRMWInst::Or: in optimizeAtomic()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp130 if (I && (I->getOpcode() == Instruction::Or || in XorOpnd()
141 isOr = (I->getOpcode() == Instruction::Or); in XorOpnd()
886 static bool isLoadCombineCandidate(Instruction *Or) { in isLoadCombineCandidate() argument
901 if (!Enqueue(Or)) in isLoadCombineCandidate()
909 case Instruction::Or: in isLoadCombineCandidate()
936 static bool shouldConvertOrWithNoCommonBitsToAdd(Instruction *Or) { in shouldConvertOrWithNoCommonBitsToAdd() argument
948 if (any_of(Or->operands(), isInteresting)) in shouldConvertOrWithNoCommonBitsToAdd()
951 Value *VB = Or->user_back(); in shouldConvertOrWithNoCommonBitsToAdd()
952 if (Or->hasOneUse() && isInteresting(VB)) in shouldConvertOrWithNoCommonBitsToAdd()
960 static BinaryOperator *convertOrWithNoCommonBitsToAdd(Instruction *Or) { in convertOrWithNoCommonBitsToAdd() argument
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DMIPatternMatch.h292 template <typename... Preds> struct Or {
300 struct Or<Pred, Preds...> : Or<Preds...> {
302 Or(Pred &&p, Preds &&... preds)
303 : Or<Preds...>(std::forward<Preds>(preds)...), P(std::forward<Pred>(p)) {}
306 return P.match(MRI, src) || Or<Preds...>::match(MRI, src);
314 template <typename... Preds> Or<Preds...> m_any_of(Preds &&... preds) {
315 return Or<Preds...>(std::forward<Preds>(preds)...);
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVGatherScatterLowering.cpp139 BO->getOpcode() != Instruction::Or && in matchStridedStart()
144 if (BO->getOpcode() == Instruction::Or && in matchStridedStart()
171 case Instruction::Or: in matchStridedStart()
251 case Instruction::Or: in matchStridedRecurrence()
307 case Instruction::Or: { in matchStridedRecurrence()
/freebsd/contrib/arm-optimized-routines/
H A DREADME39 Or building outside of the source directory:
48 Or building and testing the math subproject only:
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.h324 return Opcode == And || Opcode == Or || Opcode == Xor;
699 return Opcode == And || Opcode == Or || Opcode == Xor ||
715 case And: case Or: case Xor:
730 return Opcode == And || Opcode == Or;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanPatternMatch.h289 inline AllBinaryRecipe_match<Op0_t, Op1_t, Instruction::Or, Commutative>
291 return m_Binary<Instruction::Or, Op0_t, Op1_t, Commutative>(Op0, Op1);
295 inline AllBinaryRecipe_match<Op0_t, Op1_t, Instruction::Or,
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dqcom,q6afe.txt11 Or "qcom,q6afe" where the version number can be queried
H A Dqcom,q6core.txt13 Or "qcom,q6core" where the version number can be queried
/freebsd/crypto/openssl/external/perl/Text-Template-1.56/
H A DINSTALL25 Or:
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DOpenACCKinds.h513 Or, enumerator
538 case OpenACCReductionOperator::Or: in printOpenACCReductionOperator()

12345678910>>...22