Searched refs:BinaryOperator (Results 76 - 100 of 270) sorted by relevance

1234567891011

/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DComputeDependence.h34 class BinaryOperator;
116 ExprDependence computeDependence(BinaryOperator *E);
/netbsd-current/external/apache2/llvm/dist/clang/lib/Analysis/
H A DCFG.cpp114 tryNormalizeBinaryOperator(const BinaryOperator *B) {
545 CFGBlock *VisitBinaryOperator(BinaryOperator *B, AddStmtChoice asc);
583 CFGBlock *VisitLogicalOperator(BinaryOperator *B);
584 std::pair<CFGBlock *, CFGBlock *> VisitLogicalOperator(BinaryOperator *B,
687 CFGBlock *VisitBinaryOperatorForTemporaryDtors(BinaryOperator *E,
920 TryResult checkIncorrectRelationalOperator(const BinaryOperator *B) {
959 TryResult checkIncorrectEqualityOperator(const BinaryOperator *B) {
974 const BinaryOperator *BitOp = dyn_cast<BinaryOperator>(BoolExpr);
1034 TryResult checkIncorrectLogicOperator(const BinaryOperator *
[all...]
H A DConsumed.cpp304 const BinaryOperator *Source;
329 PropagationInfo(const BinaryOperator *Source, EffectiveOp EOp,
338 PropagationInfo(const BinaryOperator *Source, EffectiveOp EOp,
404 const BinaryOperator * testSourceNode() const {
500 void VisitBinaryOperator(const BinaryOperator *BinOp);
701 void ConsumedStmtVisitor::VisitBinaryOperator(const BinaryOperator *BinOp) {
1239 if (!PInfo.isValid() && isa<BinaryOperator>(Cond))
1240 PInfo = Visitor.getInfo(cast<BinaryOperator>(Cond)->getRHS());
1255 dyn_cast_or_null<BinaryOperator>(CurrBlock->getTerminator().getStmt())) {
1258 if ((BinOp = dyn_cast_or_null<BinaryOperator>(BinO
[all...]
H A DUninitializedValues.cpp290 void VisitBinaryOperator(BinaryOperator *BO);
352 if (const auto *BO = dyn_cast<BinaryOperator>(E)) {
380 void ClassifyRefs::VisitBinaryOperator(BinaryOperator *BO) {
486 void VisitBinaryOperator(BinaryOperator *bo);
764 void TransferFunctions::VisitBinaryOperator(BinaryOperator *BO) {
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp63 BinaryOperator::Opcode Op) {
64 OS << ' ' << BinaryOperator::getOpcodeStr(Op) << ' ';
259 BinaryOperator::Opcode op,
277 BinaryOperator::Opcode op,
295 BinaryOperator::Opcode op,
H A DCheckerHelpers.cpp85 if (auto Assign = dyn_cast_or_null<BinaryOperator>(S)) {
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DIRBuilder.h1124 BinaryOperator *CreateInsertNUWNSWBinOp(BinaryOperator::BinaryOps Opc,
1128 BinaryOperator *BO = Insert(BinaryOperator::Create(Opc, LHS, RHS), Name);
1247 return Insert(BinaryOperator::CreateUDiv(LHS, RHS), Name);
1248 return Insert(BinaryOperator::CreateExactUDiv(LHS, RHS), Name);
1261 return Insert(BinaryOperator::CreateSDiv(LHS, RHS), Name);
1262 return Insert(BinaryOperator::CreateExactSDiv(LHS, RHS), Name);
1271 return Insert(BinaryOperator::CreateURem(LHS, RHS), Name);
1276 return Insert(BinaryOperator
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp383 assert(isa<BinaryOperator>(FirstInst) || isa<CmpInst>(FirstInst));
461 BinaryOperator *BinOp = cast<BinaryOperator>(FirstInst);
462 BinaryOperator *NewBinOp =
463 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal);
857 } else if (isa<BinaryOperator>(FirstInst) || isa<CmpInst>(FirstInst)) {
916 if (BinaryOperator *BinOp = dyn_cast<BinaryOperator>(FirstInst)) {
917 BinOp = BinaryOperator::Create(BinOp->getOpcode(), PhiVal, ConstantOp);
1359 (isa<BinaryOperator>(PHIUse
[all...]
H A DInstCombineCompares.cpp299 return BinaryOperator::CreateOr(C1, C2);
319 return BinaryOperator::CreateAnd(C1, C2);
1341 } else if (isa<BinaryOperator>(Val) &&
1343 cast<BinaryOperator>(Val), SQ.getWithInstruction(Val),
1569 BinaryOperator *Xor,
1636 BinaryOperator *And,
1639 BinaryOperator *Shift = dyn_cast<BinaryOperator>(And->getOperand(0));
1722 BinaryOperator *And,
1830 BinaryOperator *An
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
H A DExpr.cpp47 if (auto *BO = dyn_cast<BinaryOperator>(E)) {
113 } else if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(E)) {
160 if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(E)) {
1418 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(CEE)) {
1997 StringRef BinaryOperator::getOpcodeStr(Opcode Op) {
2006 BinaryOperator::getOverloadedOpcode(OverloadedOperatorKind OO) {
2044 OverloadedOperatorKind BinaryOperator
4405 BinaryOperator::BinaryOperator(const ASTContext &Ctx, Expr *lhs, Expr *rhs, function in class:BinaryOperator
4422 BinaryOperator::BinaryOperator(const ASTContext &Ctx, Expr *lhs, Expr *rhs, function in class:BinaryOperator
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExprComplex.cpp256 BinOpInfo EmitBinOps(const BinaryOperator *E);
273 ComplexPairTy VisitBinAdd(const BinaryOperator *E) {
276 ComplexPairTy VisitBinSub(const BinaryOperator *E) {
279 ComplexPairTy VisitBinMul(const BinaryOperator *E) {
282 ComplexPairTy VisitBinDiv(const BinaryOperator *E) {
309 LValue EmitBinAssignLValue(const BinaryOperator *E,
311 ComplexPairTy VisitBinAssign (const BinaryOperator *E);
312 ComplexPairTy VisitBinComma (const BinaryOperator *E);
880 ComplexExprEmitter::EmitBinOps(const BinaryOperator *E) {
986 LValue ComplexExprEmitter::EmitBinAssignLValue(const BinaryOperator *
[all...]
H A DCGExprScalar.cpp61 BinaryOperator::Opcode Opcode, bool Signed,
95 BinaryOperator::Opcode Opcode; // Opcode of BinOp to perform
140 if (const auto *BinOp = dyn_cast<BinaryOperator>(E)) {
180 assert((isa<UnaryOperator>(Op.E) || isa<BinaryOperator>(Op.E)) &&
194 const auto *BO = cast<BinaryOperator>(Op.E);
730 auto *BO = cast<BinaryOperator>(Ops.E);
790 BinOpInfo EmitBinOps(const BinaryOperator *E);
800 Value *VisitBin ## OP(const BinaryOperator *E) { \
819 Value *EmitCompare(const BinaryOperator *E, llvm::CmpInst::Predicate UICmpOpc,
823 Value *VisitBin##CODE(const BinaryOperator *
[all...]
H A DCGExprAgg.cpp155 void VisitBinaryOperator(const BinaryOperator *BO);
156 void VisitPointerToDataMemberBinaryOperator(const BinaryOperator *BO);
157 void VisitBinAssign(const BinaryOperator *E);
158 void VisitBinComma(const BinaryOperator *E);
159 void VisitBinCmp(const BinaryOperator *E);
934 void AggExprEmitter::VisitBinComma(const BinaryOperator *E) {
951 const BinaryOperator *E, llvm::Value *LHS,
1000 void AggExprEmitter::VisitBinCmp(const BinaryOperator *E) {
1080 void AggExprEmitter::VisitBinaryOperator(const BinaryOperator *E) {
1088 const BinaryOperator *
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h249 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(V))
305 getSafeVectorConstantForBinop(BinaryOperator::BinaryOps Opcode, Constant *In,
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DFlattenCFG.cpp433 BinaryOperator::BinaryOps CombineOp;
437 CombineOp = BinaryOperator::Or;
451 CombineOp = BinaryOperator::And;
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp151 BinaryOperator *BinOp = dyn_cast<BinaryOperator>(V);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp341 return BinaryOperator::Create(*Action.BinaryOp, II->getArgOperand(0),
356 return BinaryOperator::Create(
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DIterator.cpp300 BinaryOperator::Opcode Opc) {
305 BinaryOperator::Opcode Opc) {
H A DIteratorModeling.cpp87 check::PostStmt<BinaryOperator>,
152 void checkPostStmt(const BinaryOperator *BO, CheckerContext &C) const;
263 void IteratorModeling::checkPostStmt(const BinaryOperator *BO,
275 BinaryOperator::getOverloadedOperator(OK));
287 handlePtrIncrOrDecr(C, IterExpr, BinaryOperator::getOverloadedOperator(OK),
813 assert(BinaryOperator::isComparisonOp(
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h124 << std::string(BinaryOperator::getOpcodeStr(S->getOpcode())) << " "
134 std::string(BinaryOperator::getOpcodeStr(S->getOpcode())) +
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporterVisitors.h28 class BinaryOperator;
255 VisitTrueTest(const Expr *Cond, const BinaryOperator *BExpr,
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h47 class BinaryOperator;
87 bool isExact(const BinaryOperator *Op) const {
277 /// Given operands for a BinaryOperator, fold the result or return null.
281 /// Given operands for a BinaryOperator, fold the result or return null.
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DPoisonChecking.cpp106 assert(isa<BinaryOperator>(I));
190 if (isa<BinaryOperator>(I) && !I.getType()->isVectorTy())
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DIVDescriptors.cpp939 const SCEV *Step, BinaryOperator *BOp,
1007 BinaryOperator *BOp = dyn_cast<BinaryOperator>(BEValue);
1086 const BinaryOperator *BinOp = dyn_cast<BinaryOperator>(Val);
1216 BinaryOperator *BOp =
1217 dyn_cast<BinaryOperator>(Phi->getIncomingValueForBlock(Latch));
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaPseudoObject.cpp427 assert(BinaryOperator::isAssignmentOp(opcode));
449 syntactic = BinaryOperator::Create(S.Context, syntacticLHS, capturedRHS,
460 BinaryOperator::getOpForCompoundAssignment(opcode);
888 assert(BinaryOperator::isAssignmentOp(opcode));
996 assert(BinaryOperator::isAssignmentOp(opcode));
1587 return BinaryOperator::Create(Context, LHS, RHS, opcode,
1656 } else if (BinaryOperator *bop = dyn_cast<BinaryOperator>(syntax)) {
1659 return BinaryOperator::Create(Context, lhs, rhs, bop->getOpcode(),

Completed in 523 milliseconds

1234567891011