Searched refs:BinOp (Results 1 - 21 of 21) sorted by relevance

/macosx-10.10/llvmCore-3425.0.34/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp120 BinaryOperator *BinOp = cast<BinaryOperator>(FirstInst); local
122 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal);
490 if (BinaryOperator *BinOp = dyn_cast<BinaryOperator>(FirstInst)) {
491 BinOp = BinaryOperator::Create(BinOp->getOpcode(), PhiVal, ConstantOp);
492 if (isNUW) BinOp->setHasNoUnsignedWrap();
493 if (isNSW) BinOp->setHasNoSignedWrap();
494 if (isExact) BinOp->setIsExact();
495 BinOp->setDebugLoc(FirstInst->getDebugLoc());
496 return BinOp;
[all...]
/macosx-10.10/llvmCore-3425.0.34/include/llvm/
H A DInstrTypes.h321 static const Value *getNegArgument(const Value *BinOp);
322 static Value *getNegArgument( Value *BinOp);
323 static const Value *getFNegArgument(const Value *BinOp);
324 static Value *getFNegArgument( Value *BinOp);
325 static const Value *getNotArgument(const Value *BinOp);
326 static Value *getNotArgument( Value *BinOp);
H A DInstructions.h568 enum BinOp { enum in class:llvm::AtomicRMWInst
601 AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val,
604 AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val,
608 BinOp getOperation() const {
609 return static_cast<BinOp>(getSubclassDataFromInstruction() >> 5);
612 void setOperation(BinOp Operation) {
681 void Init(BinOp Operation, Value *Ptr, Value *Val,
H A DIRBuilder.h850 AtomicRMWInst *CreateAtomicRMW(AtomicRMWInst::BinOp Op, Value *Ptr, Value *Val,
/macosx-10.10/llvmCore-3425.0.34/examples/Kaleidoscope/Chapter2/
H A Dtoy.cpp251 int BinOp = CurTok; local
258 // If BinOp binds less tightly with RHS than the operator after RHS, let
267 LHS = new BinaryExprAST(BinOp, LHS, RHS);
/macosx-10.10/llvmCore-3425.0.34/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp263 int BinOp = CurTok; local
270 // If BinOp binds less tightly with RHS than the operator after RHS, let
279 LHS = new BinaryExprAST(BinOp, LHS, RHS);
/macosx-10.10/llvmCore-3425.0.34/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp270 int BinOp = CurTok; local
277 // If BinOp binds less tightly with RHS than the operator after RHS, let
286 LHS = new BinaryExprAST(BinOp, LHS, RHS);
/macosx-10.10/llvmCore-3425.0.34/examples/OCaml-Kaleidoscope/Chapter2/
H A Dparser.ml70 (* If BinOp binds less tightly with rhs than the operator after
/macosx-10.10/llvmCore-3425.0.34/examples/OCaml-Kaleidoscope/Chapter3/
H A Dparser.ml70 (* If BinOp binds less tightly with rhs than the operator after
/macosx-10.10/llvmCore-3425.0.34/examples/OCaml-Kaleidoscope/Chapter4/
H A Dparser.ml70 (* If BinOp binds less tightly with rhs than the operator after
/macosx-10.10/llvmCore-3425.0.34/lib/VMCore/
H A DInstructions.cpp1244 void AtomicRMWInst::Init(BinOp Operation, Value *Ptr, Value *Val,
1264 AtomicRMWInst::AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val,
1275 AtomicRMWInst::AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val,
1943 Value *BinaryOperator::getNegArgument(Value *BinOp) { argument
1944 return cast<BinaryOperator>(BinOp)->getOperand(1);
1947 const Value *BinaryOperator::getNegArgument(const Value *BinOp) { argument
1948 return getNegArgument(const_cast<Value*>(BinOp));
1951 Value *BinaryOperator::getFNegArgument(Value *BinOp) { argument
1952 return cast<BinaryOperator>(BinOp)->getOperand(1);
1955 const Value *BinaryOperator::getFNegArgument(const Value *BinOp) { argument
1959 getNotArgument(Value *BinOp) argument
1970 getNotArgument(const Value *BinOp) argument
[all...]
H A DAsmWriter.cpp688 AtomicRMWInst::BinOp Op) {
/macosx-10.10/llvmCore-3425.0.34/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp371 int BinOp = CurTok; local
378 // If BinOp binds less tightly with RHS than the operator after RHS, let
387 LHS = new BinaryExprAST(BinOp, LHS, RHS);
/macosx-10.10/llvmCore-3425.0.34/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp415 int BinOp = CurTok; local
422 // If BinOp binds less tightly with RHS than the operator after RHS, let
431 LHS = new BinaryExprAST(BinOp, LHS, RHS);
/macosx-10.10/llvmCore-3425.0.34/examples/OCaml-Kaleidoscope/Chapter5/
H A Dparser.ml106 (* If BinOp binds less tightly with rhs than the operator after
/macosx-10.10/llvmCore-3425.0.34/examples/OCaml-Kaleidoscope/Chapter6/
H A Dparser.ml117 (* If BinOp binds less tightly with rhs than the operator after
/macosx-10.10/llvmCore-3425.0.34/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp480 int BinOp = CurTok; local
487 // If BinOp binds less tightly with RHS than the operator after RHS, let
496 LHS = new BinaryExprAST(BinOp, LHS, RHS);
/macosx-10.10/llvmCore-3425.0.34/examples/OCaml-Kaleidoscope/Chapter7/
H A Dparser.ml131 (* If BinOp binds less tightly with rhs than the operator after
/macosx-10.10/llvmCore-3425.0.34/lib/Bitcode/Reader/
H A DBitcodeReader.cpp159 static AtomicRMWInst::BinOp GetDecodedRMWOperation(unsigned Val) {
2606 AtomicRMWInst::BinOp Operation = GetDecodedRMWOperation(Record[OpNum]);
/macosx-10.10/llvmCore-3425.0.34/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp113 static unsigned GetEncodedRMWOperation(AtomicRMWInst::BinOp Op) {
/macosx-10.10/llvmCore-3425.0.34/lib/AsmParser/
H A DLLParser.cpp3898 /// ::= 'atomicrmw' 'volatile'? BinOp TypeAndValue ',' TypeAndValue
3906 AtomicRMWInst::BinOp Operation;

Completed in 236 milliseconds