Searched refs:V1 (Results 1 - 25 of 71) sorted by relevance

123

/macosx-10.9.5/llvmCore-3425.0.33/lib/VMCore/
H A DUse.cpp24 Value *V1(Val);
26 if (V1 != V2) {
27 if (V1) {
39 if (V1) {
40 RHS.Val = V1;
41 V1->addUse(RHS);
H A DConstantFold.h36 Constant *V1, Constant *V2);
40 Constant *ConstantFoldShuffleVectorInstruction(Constant *V1, Constant *V2,
46 Constant *ConstantFoldBinaryInstruction(unsigned Opcode, Constant *V1,
H A DConstantFold.cpp693 Constant *V1, Constant *V2) {
696 if (Cond->isAllOnesValue()) return V1;
702 for (unsigned i = 0, e = V1->getType()->getVectorNumElements(); i != e;++i){
706 Constant *V = Cond->isNullValue() ? V2 : V1;
712 if (Result.size() == V1->getType()->getVectorNumElements())
717 if (isa<UndefValue>(V1)) return V1;
720 if (isa<UndefValue>(V1)) return V2;
721 if (isa<UndefValue>(V2)) return V1;
722 if (V1
692 ConstantFoldSelectInstruction(Constant *Cond, Constant *V1, Constant *V2) argument
781 ConstantFoldShuffleVectorInstruction(Constant *V1, Constant *V2, Constant *Mask) argument
1272 evaluateFCmpRelation(Constant *V1, Constant *V2) argument
1340 evaluateICmpRelation(Constant *V1, Constant *V2, bool isSigned) argument
1646 APInt V1 = cast<ConstantInt>(C1)->getValue(); local
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/unittests/ADT/
H A DIntrusiveRefCntPtrTest.cpp21 VirtualRefCounted *V1 = new VirtualRefCounted; local
22 IntrusiveRefCntPtr<VirtualRefCounted> R1 = V1;
23 VirtualRefCounted *V2 = new VirtualRefCounted(*V1);
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/
H A DInstrTypes.h178 static BinaryOperator *Create##OPC(Value *V1, Value *V2, \
180 return Create(Instruction::OPC, V1, V2, Name);\
184 static BinaryOperator *Create##OPC(Value *V1, Value *V2, \
186 return Create(Instruction::OPC, V1, V2, Name, BB);\
190 static BinaryOperator *Create##OPC(Value *V1, Value *V2, \
192 return Create(Instruction::OPC, V1, V2, Name, I);\
196 static BinaryOperator *CreateNSW(BinaryOps Opc, Value *V1, Value *V2, argument
198 BinaryOperator *BO = Create(Opc, V1, V2, Name);
202 static BinaryOperator *CreateNSW(BinaryOps Opc, Value *V1, Value *V2, argument
204 BinaryOperator *BO = Create(Opc, V1, V
208 CreateNSW(BinaryOps Opc, Value *V1, Value *V2, const Twine &Name, Instruction *I) argument
215 CreateNUW(BinaryOps Opc, Value *V1, Value *V2, const Twine &Name = �) argument
221 CreateNUW(BinaryOps Opc, Value *V1, Value *V2, const Twine &Name, BasicBlock *BB) argument
227 CreateNUW(BinaryOps Opc, Value *V1, Value *V2, const Twine &Name, Instruction *I) argument
234 CreateExact(BinaryOps Opc, Value *V1, Value *V2, const Twine &Name = �) argument
240 CreateExact(BinaryOps Opc, Value *V1, Value *V2, const Twine &Name, BasicBlock *BB) argument
246 CreateExact(BinaryOps Opc, Value *V1, Value *V2, const Twine &Name, Instruction *I) argument
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/unittests/Support/
H A DAlignOfTest.cpp60 struct V1 { virtual ~V1(); }; struct in namespace:__anon10755
62 struct V3 : V1 { virtual ~V3(); };
106 [AlignOf<V1>::Alignment > 0]
146 EXPECT_LE(alignOf<S1>(), alignOf<V1>());
147 EXPECT_LE(alignOf<V1>(), alignOf<V2>());
148 EXPECT_LE(alignOf<V1>(), alignOf<V3>());
149 EXPECT_LE(alignOf<V1>(), alignOf<V4>());
150 EXPECT_LE(alignOf<V1>(), alignOf<V5>());
151 EXPECT_LE(alignOf<V1>(), alignO
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Support/
H A DFileUtilities.cpp86 double V1 = 0.0, V2 = 0.0; local
104 V1 = strtod(F1P, const_cast<char**>(&F1NumEnd));
113 V1 = strtod(&StrTmp[0], const_cast<char**>(&F1NumEnd));
140 if (AbsTolerance < std::abs(V1-V2)) {
144 Diff = std::abs(V1/V2 - 1.0);
145 else if (V1)
146 Diff = std::abs(V2/V1 - 1.0);
152 << "Compared: " << V1 << " and " << V2 << '\n'
153 << "abs. diff = " << std::abs(V1-V2) << " rel.diff = " << Diff << '\n'
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Analysis/
H A DAliasAnalysis.h175 AliasResult alias(const Value *V1, uint64_t V1Size, argument
177 return alias(Location(V1, V1Size), Location(V2, V2Size));
181 AliasResult alias(const Value *V1, const Value *V2) { argument
182 return alias(V1, UnknownSize, V2, UnknownSize);
192 bool isNoAlias(const Value *V1, uint64_t V1Size, argument
194 return isNoAlias(Location(V1, V1Size), Location(V2, V2Size));
198 bool isNoAlias(const Value *V1, const Value *V2) { argument
199 return isNoAlias(Location(V1), Location(V2));
208 bool isMustAlias(const Value *V1, const Value *V2) { argument
209 return alias(V1,
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/unittests/Transforms/Utils/
H A DCloning.cpp29 T *clone(T *V1) { argument
30 Value *V2 = V1->clone();
31 Orig.insert(V1);
/macosx-10.9.5/llvmCore-3425.0.33/utils/TableGen/
H A DDAGISelEmitter.cpp86 MVT::SimpleValueType V1 = LHSSrc->getType(0), V2 = RHSSrc->getType(0); local
87 if (MVT(V1).isVector() != MVT(V2).isVector())
90 if (MVT(V1).isFloatingPoint() != MVT(V2).isFloatingPoint())
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/Hexagon/
H A DHexagonSubtarget.h36 V1, V2, V3, V4, V5 enumerator in enum:llvm::HexagonSubtarget::HexagonArchEnum
/macosx-10.9.5/ncurses-42/ncurses/include/
H A DMKkey_defs.sh65 key_event kv1 str V1 KEY_EVENT + ----- We were interrupted by an event
/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/
H A DBasicAliasAnalysis.cpp501 AliasResult aliasGEP(const GEPOperator *V1, uint64_t V1Size,
520 AliasResult aliasCheck(const Value *V1, uint64_t V1Size,
836 /// against another pointer. We know that V1 is a GEP, but we don't know
1156 BasicAliasAnalysis::aliasCheck(const Value *V1, uint64_t V1Size, argument
1166 V1 = V1->stripPointerCasts();
1170 if (V1 == V2) return MustAlias;
1172 if (!V1->getType()->isPointerTy() || !V2->getType()->isPointerTy())
1176 const Value *O1 = GetUnderlyingObject(V1, TD);
1189 // If V1/V
[all...]
H A DLint.cpp141 const Value *V1 = 0, const Value *V2 = 0,
144 WriteValue(V1);
164 #define Assert1(C, M, V1) \
165 do { if (!(C)) { CheckFailed(M, V1); return; } } while (0)
166 #define Assert2(C, M, V1, V2) \
167 do { if (!(C)) { CheckFailed(M, V1, V2); return; } } while (0)
168 #define Assert3(C, M, V1, V2, V3) \
169 do { if (!(C)) { CheckFailed(M, V1, V2, V3); return; } } while (0)
170 #define Assert4(C, M, V1, V2, V3, V4) \
171 do { if (!(C)) { CheckFailed(M, V1, V
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/Mips/
H A DMipsISelDAGToDAG.cpp128 unsigned V0, V1, V2, GlobalBaseReg = MipsFI->getGlobalBaseReg(); local
139 V1 = RegInfo.createVirtualRegister(RC);
152 BuildMI(MBB, I, DL, TII.get(Mips::DADDu), V1).addReg(V0)
154 BuildMI(MBB, I, DL, TII.get(Mips::DADDiu), GlobalBaseReg).addReg(V1)
162 BuildMI(MBB, I, DL, TII.get(Mips::AddiuRxPcImmX16), V1)
166 .addReg(V1).addReg(V2);
192 BuildMI(MBB, I, DL, TII.get(Mips::ADDu), V1).addReg(V0).addReg(Mips::T9);
193 BuildMI(MBB, I, DL, TII.get(Mips::ADDiu), GlobalBaseReg).addReg(V1)
559 DestReg = Mips::V1;
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/ADT/
H A DAPSInt.h298 inline bool operator==(int64_t V1, const APSInt& V2) { argument
299 return V2 == V1;
301 inline bool operator!=(int64_t V1, const APSInt& V2) { argument
302 return V2 != V1;
H A DEquivalenceClasses.h215 member_iterator unionSets(const ElemTy &V1, const ElemTy &V2) { argument
216 iterator V1I = insert(V1), V2I = insert(V2);
/macosx-10.9.5/llvmCore-3425.0.33/unittests/VMCore/
H A DInstructionsTest.cpp238 Value *V1 = Builder.CreateFAdd(I, I, "", MD1); local
239 EXPECT_TRUE(isa<FPMathOperator>(V1));
240 FPMathOperator *O1 = cast<FPMathOperator>(V1);
242 delete V1;
/macosx-10.9.5/llvmCore-3425.0.33/unittests/Analysis/
H A DScalarEvolutionTest.cpp49 Value *V1 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V1"); local
57 const SCEV *S1 = SE.getSCEV(V1);
77 EXPECT_EQ(cast<SCEVUnknown>(M1->getOperand(1))->getValue(), V1);
81 V2->replaceAllUsesWith(V1);
82 V1->replaceAllUsesWith(V0);
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp406 Value *V1, *V2; local
417 match(Op0BO->getOperand(1), m_Shr(m_Value(V1),
422 Value *X = Builder->CreateBinOp(Op0BO->getOpcode(), YS, V1,
433 m_And(m_Shr(m_Value(V1), m_Specific(Op1)),
440 Value *XM = Builder->CreateAnd(V1, ConstantExpr::getShl(CC, Op1),
441 V1->getName()+".mask");
450 match(Op0BO->getOperand(0), m_Shr(m_Value(V1),
455 Value *X = Builder->CreateBinOp(Op0BO->getOpcode(), V1, YS,
465 m_And(m_Shr(m_Value(V1), m_Value(V2)),
472 Value *XM = Builder->CreateAnd(V1, ConstantExp
[all...]
H A DInstCombineAndOrXor.cpp1704 Value *V1 = 0;
1706 if (!match(Op, m_And(m_Value(V1), m_ConstantInt(CI2)))) return 0;
1711 if (V1 == A || V1 == B) {
1712 Value *NewOp = Builder->CreateAnd((V1 == A) ? B : A, CI1);
1713 return BinaryOperator::CreateOr(NewOp, V1);
1804 Value *V1 = 0, *V2 = 0; local
1813 match(A, m_Add(m_Value(V1), m_Value(V2)))) {
1815 if (V1 == B && MaskedValueIsZero(V2, C2->getValue()))
1817 if (V2 == B && MaskedValueIsZero(V1, C
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/PowerPC/MCTargetDesc/
H A DPPCBaseInfo.h32 case R1 : case X1 : case F1 : case V1 : case CR1: case CR0GT: return 1;
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/IPO/
H A DMergeFunctions.cpp172 bool enumerate(const Value *V1, const Value *V2);
377 bool FunctionComparator::enumerate(const Value *V1, const Value *V2) { argument
381 if (V1 == F1 && V2 == F2)
383 if (V1 == F2 && V2 == F1)
386 if (const Constant *C1 = dyn_cast<Constant>(V1)) {
387 if (V1 == V2) return true;
400 if (isa<InlineAsm>(V1) || isa<InlineAsm>(V2))
401 return V1 == V2;
403 // Check that V1 maps to V2. If we find a value that V1 map
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/X86/
H A DX86ISelLowering.cpp58 static SDValue getMOVL(SelectionDAG &DAG, DebugLoc dl, EVT VT, SDValue V1,
130 static SDValue Concat128BitVectors(SDValue V1, SDValue V2, EVT VT, argument
133 SDValue V = Insert128BitVector(DAG.getUNDEF(VT), V1, 0, DAG, dl);
2958 SDValue V1, SelectionDAG &DAG) {
2964 return DAG.getNode(Opc, dl, VT, V1);
2969 SDValue V1, unsigned TargetMask,
2978 return DAG.getNode(Opc, dl, VT, V1, DAG.getConstant(TargetMask, MVT::i8));
2983 SDValue V1, SDValue V2, unsigned TargetMask,
2990 return DAG.getNode(Opc, dl, VT, V1, V2,
2996 SDValue V1, SDValu
2957 getTargetShuffleNode(unsigned Opc, DebugLoc dl, EVT VT, SDValue V1, SelectionDAG &DAG) argument
2968 getTargetShuffleNode(unsigned Opc, DebugLoc dl, EVT VT, SDValue V1, unsigned TargetMask, SelectionDAG &DAG) argument
2982 getTargetShuffleNode(unsigned Opc, DebugLoc dl, EVT VT, SDValue V1, SDValue V2, unsigned TargetMask, SelectionDAG &DAG) argument
2995 getTargetShuffleNode(unsigned Opc, DebugLoc dl, EVT VT, SDValue V1, SDValue V2, SelectionDAG &DAG) argument
4224 ShouldXformToMOVLP(SDNode *V1, SDNode *V2, ArrayRef<int> Mask, EVT VT) argument
4266 SDValue V1 = N->getOperand(0); local
4365 getMOVL(SelectionDAG &DAG, DebugLoc dl, EVT VT, SDValue V1, SDValue V2) argument
4376 getUnpackl(SelectionDAG &DAG, DebugLoc dl, EVT VT, SDValue V1, SDValue V2) argument
4388 getUnpackh(SelectionDAG &DAG, DebugLoc dl, EVT VT, SDValue V1, SDValue V2) argument
4450 SDValue V1 = SV->getOperand(0); local
4495 SDValue V1 = IsZero local
4934 SDValue V1 = DAG.getLoad(NVT, dl, Chain, Ptr, local
5582 SDValue V1 = Op.getOperand(0); local
5601 SDValue V1 = SVOp->getOperand(0); local
5674 SDValue V1 = SVOp->getOperand(0); local
5924 SDValue V1 = SVOp->getOperand(0); local
6048 SDValue V1 = SVOp->getOperand(0); local
6124 SDValue V1 = DAG.getNode(ISD::BITCAST, dl, NewVT, SVOp->getOperand(0)); local
6282 SDValue V1 = SVOp->getOperand(0); local
8647 SDValue V1 = DAG.getNode(ISD::TRUNCATE, dl, VT, WideVal.getOperand(1)); local
10989 SDValue V1 = Extract128BitVector(R, 0, DAG, dl); local
13608 SDValue V1 = SVOp->getOperand(0); local
14929 SDValue V1 = N->getOperand(0); local
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/
H A DLiveInterval.cpp646 /// are found to be equivalent. This eliminates V1, replacing all
647 /// LiveRanges with the V1 value number with the V2 value number. This can
648 /// cause merging of V1/V2 values numbers and compaction of the value space.
649 VNInfo* LiveInterval::MergeValueNumberInto(VNInfo *V1, VNInfo *V2) {
650 assert(V1 != V2 && "Identical value#'s are always equivalent!");
657 // Make sure V2 is smaller than V1.
658 if (V1->id < V2->id) {
659 V1->copyFrom(*V2);
660 std::swap(V1, V2);
663 // Merge V1 liv
[all...]

Completed in 231 milliseconds

123