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

1234

/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DBasicValueFactory.cpp147 const llvm::APSInt& V1, const llvm::APSInt& V2) {
154 return &getValue( V1 * V2 );
157 return &getValue( V1 / V2 );
160 return &getValue( V1 % V2 );
163 return &getValue( V1 + V2 );
166 return &getValue( V1 - V2 );
180 if (Amt > V1.getBitWidth())
183 return &getValue( V1.operator<<( (unsigned) Amt ));
198 if (Amt > V1.getBitWidth())
201 return &getValue( V1
146 evalAPSInt(BinaryOperator::Opcode Op, const llvm::APSInt& V1, const llvm::APSInt& V2) argument
262 getPersistentSValPair(const SVal& V1, const SVal& V2) argument
[all...]
/freebsd-9.3-release/contrib/llvm/lib/IR/
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.cpp698 Constant *V1, Constant *V2) {
701 if (Cond->isAllOnesValue()) return V1;
707 for (unsigned i = 0, e = V1->getType()->getVectorNumElements(); i != e;++i){
711 Constant *V = Cond->isNullValue() ? V2 : V1;
717 if (Result.size() == V1->getType()->getVectorNumElements())
722 if (isa<UndefValue>(V1)) return V1;
725 if (isa<UndefValue>(V1)) return V2;
726 if (isa<UndefValue>(V2)) return V1;
727 if (V1
697 ConstantFoldSelectInstruction(Constant *Cond, Constant *V1, Constant *V2) argument
786 ConstantFoldShuffleVectorInstruction(Constant *V1, Constant *V2, Constant *Mask) argument
1273 evaluateFCmpRelation(Constant *V1, Constant *V2) argument
1337 evaluateICmpRelation(Constant *V1, Constant *V2, bool isSigned) argument
1638 APInt V1 = cast<ConstantInt>(C1)->getValue(); local
[all...]
/freebsd-9.3-release/contrib/llvm/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'
/freebsd-9.3-release/contrib/llvm/include/llvm/IR/
H A DInstrTypes.h176 static BinaryOperator *Create##OPC(Value *V1, Value *V2, \
178 return Create(Instruction::OPC, V1, V2, Name);\
182 static BinaryOperator *Create##OPC(Value *V1, Value *V2, \
184 return Create(Instruction::OPC, V1, V2, Name, BB);\
188 static BinaryOperator *Create##OPC(Value *V1, Value *V2, \
190 return Create(Instruction::OPC, V1, V2, Name, I);\
194 static BinaryOperator *CreateNSW(BinaryOps Opc, Value *V1, Value *V2, argument
196 BinaryOperator *BO = Create(Opc, V1, V2, Name);
200 static BinaryOperator *CreateNSW(BinaryOps Opc, Value *V1, Value *V2, argument
202 BinaryOperator *BO = Create(Opc, V1, V
206 CreateNSW(BinaryOps Opc, Value *V1, Value *V2, const Twine &Name, Instruction *I) argument
213 CreateNUW(BinaryOps Opc, Value *V1, Value *V2, const Twine &Name = �) argument
219 CreateNUW(BinaryOps Opc, Value *V1, Value *V2, const Twine &Name, BasicBlock *BB) argument
225 CreateNUW(BinaryOps Opc, Value *V1, Value *V2, const Twine &Name, Instruction *I) argument
232 CreateExact(BinaryOps Opc, Value *V1, Value *V2, const Twine &Name = �) argument
238 CreateExact(BinaryOps Opc, Value *V1, Value *V2, const Twine &Name, BasicBlock *BB) argument
244 CreateExact(BinaryOps Opc, Value *V1, Value *V2, const Twine &Name, Instruction *I) argument
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGValue.h41 llvm::PointerIntPair<llvm::Value *, 2, Flavor> V1; member in class:clang::CodeGen::RValue
46 bool isScalar() const { return V1.getInt() == Scalar; }
47 bool isComplex() const { return V1.getInt() == Complex; }
48 bool isAggregate() const { return V1.getInt() == Aggregate; }
55 return V1.getPointer();
61 return std::make_pair(V1.getPointer(), V2.getPointer());
67 return V1.getPointer();
72 ER.V1.setPointer(V);
73 ER.V1.setInt(Scalar);
77 static RValue getComplex(llvm::Value *V1, llv argument
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Headers/
H A Dshaintrin.h35 #define _mm_sha1rnds4_epu32(V1, V2, M) __extension__ ({ \
36 __builtin_ia32_sha1rnds4((V1), (V2), (M)); })
H A Davxintrin.h292 #define _mm256_permute2f128_pd(V1, V2, M) __extension__ ({ \
293 __m256d __V1 = (V1); \
297 #define _mm256_permute2f128_ps(V1, V2, M) __extension__ ({ \
298 __m256 __V1 = (V1); \
302 #define _mm256_permute2f128_si256(V1, V2, M) __extension__ ({ \
303 __m256i __V1 = (V1); \
308 #define _mm256_blend_pd(V1, V2, M) __extension__ ({ \
309 __m256d __V1 = (V1); \
313 #define _mm256_blend_ps(V1, V2, M) __extension__ ({ \
314 __m256 __V1 = (V1); \
[all...]
H A Dsmmintrin.h79 #define _mm_blend_pd(V1, V2, M) __extension__ ({ \
80 __m128d __V1 = (V1); \
84 #define _mm_blend_ps(V1, V2, M) __extension__ ({ \
85 __m128 __V1 = (V1); \
110 #define _mm_blend_epi16(V1, V2, M) __extension__ ({ \
111 __m128i __V1 = (V1); \
/freebsd-9.3-release/contrib/llvm/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...]
/freebsd-9.3-release/contrib/dtc/
H A Ddtc-lexer.l26 %s V1
59 #define BEGIN_DEFAULT() DPRINT("<V1>\n"); \
60 BEGIN(V1); \
106 <V1>[0-9]+|0[xX][0-9a-fA-F]+ {
/freebsd-9.3-release/contrib/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp528 /// In addition to pointer equivalence of \p V1 and \p V2 this checks
533 bool isValueEqualInPotentialCycles(const Value *V1, const Value *V2);
544 AliasResult aliasGEP(const GEPOperator *V1, uint64_t V1Size,
563 AliasResult aliasCheck(const Value *V1, uint64_t V1Size,
879 /// against another pointer. We know that V1 is a GEP, but we don't know
1192 BasicAliasAnalysis::aliasCheck(const Value *V1, uint64_t V1Size, argument
1202 V1 = V1->stripPointerCasts();
1211 if (isValueEqualInPotentialCycles(V1, V2))
1214 if (!V1
[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...]
H A DAliasAnalysisEvaluator.cpp91 static void PrintResults(const char *Msg, bool P, const Value *V1, argument
97 WriteAsOperand(os1, V1, true, M);
129 PrintLoadStoreResults(const char *Msg, bool P, const Value *V1, argument
132 errs() << " " << Msg << ": " << *V1
/freebsd-9.3-release/contrib/llvm/lib/Target/Hexagon/
H A DHexagonSubtarget.h36 V1, V2, V3, V4, V5 enumerator in enum:llvm::HexagonSubtarget::HexagonArchEnum
/freebsd-9.3-release/contrib/ncurses/include/
H A DMKkey_defs.sh65 key_event kv1 str V1 KEY_EVENT + ----- We were interrupted by an event
/freebsd-9.3-release/contrib/libreadline/examples/rlfe/
H A Drlfe.c138 #define DPRINT1(FMT, V1) (fprintf(logfile, FMT, V1), fflush(logfile))
139 #define DPRINT2(FMT, V1, V2) (fprintf(logfile, FMT, V1, V2), fflush(logfile))
142 #define DPRINT1(FMT, V1) ((void) 0) /* Do nothing */
143 #define DPRINT2(FMT, V1, V2) ((void) 0) /* Do nothing */
/freebsd-9.3-release/contrib/llvm/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);
/freebsd-9.3-release/contrib/llvm/lib/Target/Mips/
H A DMips16ISelDAGToDAG.cpp75 unsigned V0, V1, V2, GlobalBaseReg = MipsFI->getGlobalBaseReg(); local
80 V1 = RegInfo.createVirtualRegister(RC);
84 addReg(V1, RegState::Define).
90 .addReg(V1).addReg(V2);
/freebsd-9.3-release/sys/mips/include/
H A Dregnum.h71 #define V1 3 macro
/freebsd-9.3-release/contrib/llvm/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_OneUse(m_Shr(m_Value(V1), m_Specific(Op1))),
439 Value *XM = Builder->CreateAnd(V1, ConstantExpr::getShl(CC, Op1),
440 V1->getName()+".mask");
449 match(Op0BO->getOperand(0), m_Shr(m_Value(V1),
454 Value *X = Builder->CreateBinOp(Op0BO->getOpcode(), V1, YS,
464 m_And(m_OneUse(m_Shr(m_Value(V1), m_Value(V2))),
469 Value *XM = Builder->CreateAnd(V1, ConstantExp
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp181 bool enumerate(const Value *V1, const Value *V2);
391 bool FunctionComparator::enumerate(const Value *V1, const Value *V2) { argument
395 if (V1 == F1 && V2 == F2)
397 if (V1 == F2 && V2 == F1)
400 if (const Constant *C1 = dyn_cast<Constant>(V1)) {
401 if (V1 == V2) return true;
414 if (isa<InlineAsm>(V1) || isa<InlineAsm>(V2))
415 return V1 == V2;
417 // Check that V1 maps to V2. If we find a value that V1 map
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h184 const llvm::APSInt& V1,
191 getPersistentSValPair(const SVal& V1, const SVal& V2);

Completed in 309 milliseconds

1234