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

12345

/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyLogical.cpp51 case LExpr::Or:
56 return RNeg ? RightAndOperator(cast<Or>(RHS))
57 : RightOrOperator(cast<Or>(RHS));
76 case LExpr::Or:
81 return LNeg ? LeftOrOperator(cast<Or>(LHS))
82 : LeftAndOperator(cast<Or>(LHS));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp99 Value *Or = IRB.CreateOr(Cmp2, Cmp3); local
103 Or = IRB.CreateOr(Cmp1, Or);
106 return Or;
111 /// \p Or is the condition that should guard the trap.
115 static void insertBoundsCheck(Value *Or, BuilderTy IRB, GetTrapBBT GetTrapBB) { argument
117 ConstantInt *C = dyn_cast_or_null<ConstantInt>(Or);
140 BranchInst::Create(GetTrapBB(IRB), Cont, Or, OldBB); local
154 Value *Or = nullptr; local
157 Or
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyLogical.h26 Or, enumerator in enum:clang::threadSafety::lexpr::LExpr::Opcode
75 class Or : public BinOp { class in namespace:clang::threadSafety::lexpr
77 Or(LExpr *LHS, LExpr *RHS) : BinOp(LHS, RHS, LExpr::Or) {} function in class:clang::threadSafety::lexpr::Or
79 static bool classof(const LExpr *E) { return E->kind() == LExpr::Or; }
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAtomicRMW.cpp41 case AtomicRMWInst::Or:
80 case AtomicRMWInst::Or:
139 RMWI.getOperation() != AtomicRMWInst::Or) {
140 RMWI.setOperation(AtomicRMWInst::Or);
H A DInstCombineAndOrXor.cpp837 Value *Or = Builder.CreateOr(X, ConstantInt::get(X->getType(), Xor)); local
838 return Builder.CreateICmp(Pred, Or, ConstantInt::get(X->getType(), *C2));
906 /// Or
910 /// Or
919 /// Or
1416 assert((Opcode == Instruction::And || Opcode == Instruction::Or) &&
1461 assert((Opcode == Instruction::And || Opcode == Instruction::Or) &&
1465 Opcode = (Opcode == Instruction::And) ? Instruction::Or : Instruction::And;
1629 assert(I.getOpcode() == Instruction::Or);
1820 case Instruction::Or
1979 matchBSwap(BinaryOperator &Or) argument
2028 matchRotate(Instruction &Or) argument
2490 Value *Or = Builder.CreateOr(X, Y); local
3085 Value *Or = Builder.CreateOr(X, ConstantExpr::getNot(C2)); local
[all...]
H A DInstCombineCasts.cpp181 case Instruction::Or:
356 case Instruction::Or:
594 case Instruction::Or:
999 case Instruction::Or:
1180 if (SrcI && SrcI->getOpcode() == Instruction::Or) {
1192 Value *Or = Builder.CreateOr(LCast, RCast, CI.getName()); local
1193 if (auto *OrInst = dyn_cast<Instruction>(Or))
1202 return replaceInstUsesWith(CI, Or);
1330 case Instruction::Or:
2033 case Instruction::Or
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DMIPatternMatch.h91 template <typename... Preds> struct Or { struct in namespace:llvm::MIPatternMatch
99 struct Or<Pred, Preds...> : Or<Preds...> { struct in namespace:llvm::MIPatternMatch
101 Or(Pred &&p, Preds &&... preds) function in struct:llvm::MIPatternMatch::Or
102 : Or<Preds...>(std::forward<Preds>(preds)...), P(std::forward<Pred>(p)) {}
105 return P.match(MRI, src) || Or<Preds...>::match(MRI, src);
113 template <typename... Preds> Or<Preds...> m_any_of(Preds &&... preds) {
114 return Or<Preds...>(std::forward<Preds>(preds)...);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp54 case Instruction::Or:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanPredicator.cpp99 VPValue *Or = Builder.createOr(LHS, RHS); local
102 Worklist.push_back(Or);
H A DLoopVectorizationPlanner.h138 return createInstruction(Instruction::BinaryOps::Or, {LHS, RHS});
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp125 case AtomicRMWInst::Or:
186 Op = AtomicRMWInst::Or;
259 case AtomicRMWInst::Or:
260 return B.CreateBinOp(Instruction::Or, LHS, RHS);
393 case AtomicRMWInst::Or:
532 case AtomicRMWInst::Or:
629 case AtomicRMWInst::Or:
H A DSILowerControlFlow.cpp373 MachineInstr *And = nullptr, *Or = nullptr; local
379 Or = BuildMI(MBB, &MI, DL, TII->get(OrOpc), Dst)
385 Or = BuildMI(MBB, &MI, DL, TII->get(OrOpc), Dst)
392 LIS->ReplaceMachineInstrInMaps(MI, *Or);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp54 case Instruction::Or:
116 case Instruction::Or:
347 case Instruction::Or:
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.h176 return Opcode == And || Opcode == Or || Opcode == Xor;
483 /// In LLVM, the Add, Mul, And, Or, and Xor operators are associative.
487 return Opcode == And || Opcode == Or || Opcode == Xor ||
503 case And: case Or: case Xor:
514 /// In LLVM, the And and Or operators are idempotent.
518 return Opcode == And || Opcode == Or;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandReductions.cpp44 return Instruction::Or;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp104 LI->getOpcode() == Instruction::Or ||
300 case Instruction::Or:
H A DSystemZTargetTransformInfo.cpp114 // Or their negation, by swapping addition vs. subtraction.
126 case Instruction::Or:
476 I->getOpcode() == Instruction::Or ||
481 else if (Opcode == Instruction::Or || Opcode == Instruction::And) {
490 // Or requires one instruction, although it has custom handling for i64.
491 if (Opcode == Instruction::Or)
964 case Instruction::Or:
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCExpr.h443 Or, ///< Bitwise or. enumerator in enum:llvm::MCBinaryExpr::Opcode
534 return create(Or, LHS, RHS, Ctx);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DStmtVisitor.h135 BINOP_FALLBACK(And) BINOP_FALLBACK(Xor) BINOP_FALLBACK(Or)
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerAtomic.cpp68 case AtomicRMWInst::Or:
H A DSpeculativeExecution.cpp219 case Instruction::Or:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp102 case Instruction::Or:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp30 Ops.push_back(binOpDescriptor(1, Instruction::Or));
108 case Instruction::Or:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp986 case Instruction::Or:
1238 case Instruction::Or:
1273 case Instruction::Or:
1576 case Instruction::Or:
1598 case Instruction::Or:
1675 if (I->getOpcode() != Instruction::Or)
1694 case Instruction::Or:
1712 case Instruction::Or:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopVersioning.cpp80 RuntimeCheck = BinaryOperator::Create(Instruction::Or, MemRuntimeCheck,

Completed in 251 milliseconds

12345