Searched refs:Sub (Results 1 - 25 of 94) sorted by relevance

1234

/external/clang/test/CodeGenCXX/
H A Dpragma-pack.cpp9 struct Sub : virtual Base { struct in inherits:Base
13 // CHECK: %struct.Sub = type <{ i32 (...)**, i8, %struct.Base }>
14 void f(Sub*) { }
16 static int i[sizeof(Sub) == 13 ? 1 : -1];
H A Dapple-kext-indirect-call-2.C67 struct Sub : D1, D2 { struct in inherits:D1,D2
72 void FUNC3(Sub* p) {
/external/clang/test/SemaCXX/
H A Dpragma-pack.cpp10 struct Sub : public Base { struct in namespace:rdar8745206
15 int check[sizeof(Sub) == 5 ? 1 : -1];
27 struct Sub : virtual Base { struct in namespace:check2
32 int check[sizeof(Sub) == 13 ? 1 : -1];
/external/clang/test/Index/
H A Dcursor-ref-names.cpp7 struct Sub: public Base<int> { struct in inherits:Base
17 Sub inst;
31 // CHECK: cursor-ref-names.cpp:17:5: TypeRef=struct Sub:7:8 Extent=[17:5 - 17:8]
32 // CHECK: cursor-ref-names.cpp:17:9: CallExpr=Sub:7:8 Extent=[17:9 - 17:13]
H A Dcomplete-member-access.m25 @interface Sub : Int
33 int test_more_props(Sub *s) {
62 // CHECK-CC3-NEXT: Container USR: c:objc(cs)Sub
/external/clang/test/Index/Inputs/
H A Dobjc.h9 @interface Sub : Base
/external/llvm/unittests/Transforms/Utils/
H A DCloning.cpp55 BinaryOperator *Sub = BinaryOperator::Create(Instruction::Sub, V, V); local
59 BinaryOperator *SubClone = this->clone(Sub);
72 Sub->setHasNoUnsignedWrap();
76 SubClone = this->clone(Sub);
89 Sub->setHasNoSignedWrap();
93 SubClone = this->clone(Sub);
106 Sub->setHasNoUnsignedWrap(false);
110 SubClone = this->clone(Sub);
/external/llvm/examples/Fibonacci/
H A Dfibonacci.cpp71 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); local
72 CallInst *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1", RecurseBB);
76 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB);
77 CallInst *CallFibX2 = CallInst::Create(FibF, Sub, "fibx2", RecurseBB);
/external/webkit/Source/WebCore/rendering/mathml/
H A DRenderMathMLSubSup.h50 enum SubSupType { Sub, Sup, SubSup }; enumerator in enum:WebCore::RenderMathMLSubSup::SubSupType
H A DRenderMathMLSubSup.cpp55 m_kind = Sub;
200 case Sub:
/external/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp470 static bool ShouldBreakUpSubtract(Instruction *Sub) { argument
472 if (BinaryOperator::isNeg(Sub))
477 if (isReassociableOp(Sub->getOperand(0), Instruction::Add) ||
478 isReassociableOp(Sub->getOperand(0), Instruction::Sub))
480 if (isReassociableOp(Sub->getOperand(1), Instruction::Add) ||
481 isReassociableOp(Sub->getOperand(1), Instruction::Sub))
483 if (Sub->hasOneUse() &&
484 (isReassociableOp(Sub
494 BreakUpSubtract(Instruction *Sub, DenseMap<AssertingVH<>, unsigned> &ValueRankMap) argument
[all...]
H A DLowerAtomic.cpp55 case AtomicRMWInst::Sub:
/external/llvm/examples/ParallelJIT/
H A DParallelJIT.cpp98 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); local
99 Value *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1", RecurseBB);
102 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB);
103 Value *CallFibX2 = CallInst::Create(FibF, Sub, "fibx2", RecurseBB);
/external/llvm/include/llvm/
H A DOperator.h68 /// which may exhibit overflow - Add, Sub, and Mul. It does not include SDiv,
108 I->getOpcode() == Instruction::Sub ||
114 CE->getOpcode() == Instruction::Sub ||
193 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Sub> {
H A DInstrTypes.h269 DEFINE_HELPERS(Sub, NSW) // CreateNSWSub
270 DEFINE_HELPERS(Sub, NUW) // CreateNUWSub
319 /// Sub, FSub, or Xor.
/external/llvm/utils/TableGen/
H A DSetTheory.cpp35 // (sub Add, Sub, ...) Set difference.
41 RecSet Add, Sub; local
43 ST.evaluate(Expr->arg_begin() + 1, Expr->arg_end(), Sub);
45 if (!Sub.count(*I))
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp149 Value *Sub = 0; local
151 Sub = Builder->CreateSub(X, Y, "suba");
153 Sub = Builder->CreateSub(Builder->CreateNeg(C1), Y, "subc");
154 if (Sub)
156 BinaryOperator::CreateMul(Sub,
527 if (SubOperator *Sub = dyn_cast<SubOperator>(Op0))
528 if (match(Sub->getOperand(0), m_Zero()) && Sub->hasNoSignedWrap())
529 return BinaryOperator::CreateSDiv(Sub->getOperand(1),
H A DInstCombineSelect.cpp92 case Instruction::Sub: // Can only fold on the amount subtracted.
108 case Instruction::Sub:
787 if ((TI->getOpcode() == Instruction::Sub &&
792 } else if ((FI->getOpcode() == Instruction::Sub &&
/external/clang/test/PCH/
H A Dcxx-templates.h73 template <class T> class Sub : public UseBase<int> { }; class in inherits:UseBase
/external/clang/lib/Lex/
H A DPPDirectives.cpp298 StringRef Sub = Directive.substr(2); local
299 if (Sub.empty() || // "if"
300 Sub == "def" || // "ifdef"
301 Sub == "ndef") { // "ifndef"
313 StringRef Sub = Directive.substr(1); local
314 if (Sub == "ndif") { // "endif"
325 } else if (Sub == "lse") { // "else".
349 } else if (Sub == "lif") { // "elif".
/external/llvm/lib/MC/
H A DMCExpr.cpp121 case MCBinaryExpr::Sub: OS << '-'; break;
514 case MCBinaryExpr::Sub:
551 case MCBinaryExpr::Sub: Result = LHS - RHS; break;
H A DMCObjectStreamer.cpp241 MCBinaryExpr::Create(MCBinaryExpr::Sub, Offset, Ref, getContext());
/external/llvm/include/llvm/MC/
H A DMCExpr.h305 Sub, ///< Subtraction. enumerator in enum:llvm::MCBinaryExpr::Opcode
388 return Create(Sub, LHS, RHS, Ctx);
/external/clang/include/clang/AST/
H A DStmtVisitor.h124 BINOP_FALLBACK(Add) BINOP_FALLBACK(Sub) BINOP_FALLBACK(Shl)
/external/llvm/include/llvm/Support/
H A DPatternMatch.h303 inline BinaryOp_match<LHS, RHS, Instruction::Sub>
305 return BinaryOp_match<LHS, RHS, Instruction::Sub>(L, R);
619 if (I->getOpcode() == Instruction::Sub)
622 if (CE->getOpcode() == Instruction::Sub)

Completed in 382 milliseconds

1234