Searched refs:Val (Results 176 - 200 of 804) sorted by relevance

1234567891011>>

/external/llvm/lib/Transforms/Scalar/
H A DLoopUnswitch.cpp241 bool UnswitchIfProfitable(Value *LoopCond, Constant *Val,
243 void UnswitchTrivialCondition(Loop *L, Value *Cond, Constant *Val,
249 Constant *Val, bool isEqual);
251 void EmitPreheaderBranchOnCondition(Value *LIC, Constant *Val,
707 /// We have found that we can unswitch currentLoop when LoopCond == Val to
710 bool LoopUnswitch::UnswitchIfProfitable(Value *LoopCond, Constant *Val, argument
716 << " at non-trivial condition '" << *Val
722 UnswitchNontrivialCondition(LoopCond, Val, currentLoop, TI);
781 /// Emit a conditional branch on two values if LIC == Val, branch to TrueDst,
783 void LoopUnswitch::EmitPreheaderBranchOnCondition(Value *LIC, Constant *Val, argument
817 UnswitchTrivialCondition(Loop *L, Value *Cond, Constant *Val, BasicBlock *ExitBlock, TerminatorInst *TI) argument
1026 UnswitchNontrivialCondition(Value *LIC, Constant *Val, Loop *L, TerminatorInst *TI) argument
1204 RewriteLoopBodyWithConditionConstant(Loop *L, Value *LIC, Constant *Val, bool IsEqual) argument
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
H A DOptional.h55 static SimpleType getSimplifiedValue(const Optional<T> &Val) { argument
56 return Val.getPointer();
H A DStatistic.h53 const Statistic &operator=(unsigned Val) { argument
54 Value = Val;
/external/llvm/include/llvm/IR/
H A DUser.h138 void setOperand(unsigned i, Value *Val) {
143 getOperandList()[i] = Val;
260 static SimpleType getSimplifiedValue(User::op_iterator &Val) {
261 return Val->get();
266 static SimpleType getSimplifiedValue(User::const_op_iterator &Val) {
267 return Val->get();
H A DGlobalValue.h179 void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); }
209 void setThreadLocal(bool Val) {
210 setThreadLocalMode(Val ? GeneralDynamicTLSModel : NotThreadLocal);
212 void setThreadLocalMode(ThreadLocalMode Val) {
213 assert(Val == NotThreadLocal || getValueID() != Value::FunctionVal);
214 ThreadLocal = Val;
H A DDIBuilder.h111 DIEnumerator *createEnumerator(StringRef Name, int64_t Val);
221 /// \param Val Const initializer of the member.
225 llvm::Constant *Val);
331 /// \param Val Constant parameter value.
335 Constant *Val);
341 /// \param Val The fully qualified name of the template.
345 StringRef Val);
351 /// \param Val An array of types in the pack.
355 DINodeArray Val);
455 /// \param Val llv
[all...]
/external/llvm/lib/Target/Mips/
H A DMipsOptimizePICCall.cpp80 /// and the underlying object in Reg and Val respectively, if the function's
83 ValueType &Val) const;
247 ValueType &Val) const {
259 Val = (Value*)nullptr;
275 // Return the underlying object for the GOT entry in Val.
277 Val = (*DefMI->memoperands_begin())->getValue();
278 if (!Val)
279 Val = (*DefMI->memoperands_begin())->getPseudoValue();
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
H A DMachineInstrBuilder.h75 const MachineInstrBuilder &addImm(int64_t Val) const {
76 MI->addOperand(MachineOperand::CreateImm(Val));
80 const MachineInstrBuilder &addCImm(const ConstantInt *Val) const {
81 MI->addOperand(MachineOperand::CreateCImm(Val));
85 const MachineInstrBuilder &addFPImm(const ConstantFP *Val) const {
86 MI->addOperand(MachineOperand::CreateFPImm(Val));
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp453 APInt Val = CI->getValue().zextOrTrunc(BitWidth); local
454 DestLOI.NumSignBits = Val.getNumSignBits();
455 DestLOI.KnownZero = ~Val;
456 DestLOI.KnownOne = Val;
488 APInt Val = CI->getValue().zextOrTrunc(BitWidth); local
489 DestLOI.NumSignBits = std::min(DestLOI.NumSignBits, Val.getNumSignBits());
490 DestLOI.KnownZero &= ~Val;
491 DestLOI.KnownOne &= Val;
582 Value *Val = I.getClause(i - 1); local
585 dyn_cast<GlobalValue>(Val
608 setSwiftErrorVReg(const MachineBasicBlock *MBB, const Value* Val, unsigned VReg) argument
[all...]
/external/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp217 Constant *Val = getVal(SI->getOperand(0)); local
221 if (!isSimpleEnoughValueToCommit(Val, SimpleConstants, DL)) {
222 DEBUG(dbgs() << "Store value is too complex to evaluate store. " << *Val
238 // from NewTy to Val's type must be legal. If it's not, we can try
240 while (!Val->getType()->canLosslesslyBitCastTo(NewTy)) {
266 Val = ConstantExpr::getBitCast(Val, NewTy);
268 DEBUG(dbgs() << "Evaluated bitcast: " << *Val << "\n");
272 MutatedMemory[Ptr] = Val;
375 Constant *Val local
486 ConstantInt *Val = local
491 Value *Val = getVal(IBI->getAddress())->stripPointerCasts(); local
[all...]
/external/llvm/lib/MC/
H A DMCFragment.cpp85 bool ReportError, uint64_t &Val) {
92 Val = Layout.getFragmentOffset(S.getFragment()) + S.getOffset();
97 bool ReportError, uint64_t &Val) {
99 return getLabelOffset(Layout, S, ReportError, Val);
125 Val = Offset;
129 bool MCAsmLayout::getSymbolOffset(const MCSymbol &S, uint64_t &Val) const {
130 return getSymbolOffsetImpl(*this, S, false, Val);
134 uint64_t Val; local
135 getSymbolOffsetImpl(*this, S, true, Val);
136 return Val;
84 getLabelOffset(const MCAsmLayout &Layout, const MCSymbol &S, bool ReportError, uint64_t &Val) argument
96 getSymbolOffsetImpl(const MCAsmLayout &Layout, const MCSymbol &S, bool ReportError, uint64_t &Val) argument
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/AsmParser/
H A DMBlazeAsmParser.cpp96 const MCExpr *Val; member in struct:__anon18768::MBlazeOperand::__anon18769::__anon18772
106 const MCExpr *Val; member in struct:__anon18768::MBlazeOperand::__anon18769::__anon18774
148 return Imm.Val;
153 return FslImm.Val;
238 static MBlazeOperand *CreateImm(const MCExpr *Val, SMLoc S, SMLoc E) { argument
240 Op->Imm.Val = Val;
246 static MBlazeOperand *CreateFslImm(const MCExpr *Val, SMLoc S, SMLoc E) { argument
248 Op->Imm.Val = Val;
[all...]
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DConstants.cpp362 : Constant(Ty, ConstantIntVal, 0, 0), Val(V) {
577 : Constant(Ty, ConstantFPVal, 0, 0), Val(V) {
583 return Val.bitwiseIsEqual(V);
694 while (Constant *Val = va_arg(ap, llvm::Constant*))
695 Values.push_back(Val);
910 bool ConstantInt::isValueValidForType(Type *Ty, uint64_t Val) { argument
913 return Val == 0 || Val == 1;
917 return Val <= Max;
920 bool ConstantInt::isValueValidForType(Type *Ty, int64_t Val) { argument
931 isValueValidForType(Type *Ty, const APFloat& Val) argument
1671 getExtractElement(Constant *Val, Constant *Idx) argument
1690 getInsertElement(Constant *Val, Constant *Elt, Constant *Idx) argument
1733 getInsertValue(Constant *Agg, Constant *Val, ArrayRef<unsigned> Idxs) argument
1927 Constant *Val = cast<Constant>(O->get()); local
1937 Constant *Val = cast<Constant>(O->get()); local
2015 Constant *Val = cast<Constant>(O->get()); local
2064 Constant *Val = getOperand(i); local
2092 Constant *Val = getOperand(i); local
2106 Constant *Val = getOperand(1); local
[all...]
/external/abi-compliance-checker/modules/Internals/
H A DXmlDump.pm110 my $Val = $TInfo{"Memb"}{$Pos}{"value"};
111 if(defined $Val) {
112 $ABI_DUMP .= addTag("value", $Val);
481 my $Val = parseTag(\$Field, "value");
482 if(defined $Val) {
483 $MInfo{"value"} = $Val;
561 my $Val = parseTag(\$DataType, lc($Attr));
562 if(defined $Val) {
563 $TInfo{$Attr} = $Val;
641 my $Val
[all...]
/external/llvm/lib/Target/X86/
H A DX86OptimizeLEAs.cpp116 static unsigned getHashValue(const MemOpKey &Val) { argument
119 assert(Val.Disp != PtrInfo::getEmptyKey() && "Cannot hash the empty key");
120 assert(Val.Disp != PtrInfo::getTombstoneKey() &&
123 hash_code Hash = hash_combine(*Val.Operands[0], *Val.Operands[1],
124 *Val.Operands[2], *Val.Operands[3]);
130 switch (Val.Disp->getType()) {
135 Hash = hash_combine(Hash, Val.Disp->getIndex());
138 Hash = hash_combine(Hash, Val
[all...]
/external/llvm/include/llvm/ADT/
H A DAPFloat.h219 APFloat Val(Sem, uninitialized);
220 Val.makeZero(Negative);
221 return Val;
228 APFloat Val(Sem, uninitialized);
229 Val.makeInf(Negative);
230 return Val;
657 APFloat frexp(const APFloat &Val, int &Exp, APFloat::roundingMode RM);
H A DDenseMap.h121 size_type count(const KeyT &Val) const {
123 return LookupBucketFor(Val, TheBucket) ? 1 : 0;
126 iterator find(const KeyT &Val) { argument
128 if (LookupBucketFor(Val, TheBucket))
132 const_iterator find(const KeyT &Val) const {
134 if (LookupBucketFor(Val, TheBucket))
145 iterator find_as(const LookupKeyT &Val) { argument
147 if (LookupBucketFor(Val, TheBucket))
152 const_iterator find_as(const LookupKeyT &Val) const {
154 if (LookupBucketFor(Val, TheBucke
206 insert_as(std::pair<KeyT, ValueT> &&KV, const LookupKeyT &Val) argument
228 erase(const KeyT &Val) argument
369 getHashValue(const KeyT &Val) argument
373 getHashValue(const LookupKeyT &Val) argument
513 LookupBucketFor(const LookupKeyT &Val, const BucketT *&FoundBucket) const argument
564 LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) argument
[all...]
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp274 std::string Val(StrStart, StrEnd);
275 PrintSpecial(MI, OS, Val.c_str());
284 unsigned Val; local
285 if (StringRef(IDStart, IDEnd-IDStart).getAsInteger(10, Val))
311 if (Val >= NumOperands-1)
323 for (; Val; --Val) {
/external/lzma/CPP/7zip/UI/Console/
H A DList.cpp258 UInt64 Val; member in struct:CListUInt64Def
261 CListUInt64Def(): Val(0), Def(false) {}
262 void Add(UInt64 v) { Val += v; Def = true; }
263 void Add(const CListUInt64Def &v) { if (v.Def) Add(v.Val); }
268 FILETIME Val; member in struct:CListFileTimeDef
271 CListFileTimeDef(): Def(false) { Val.dwLowDateTime = 0; Val.dwHighDateTime = 0; }
274 if (t.Def && (!Def || CompareFileTime(&Val, &t.Val) < 0))
276 Val
[all...]
/external/vboot_reference/utility/
H A Defidecompress.c333 UINT16 Val; local
337 Val = Sd->mPTTable[Sd->mBitBuf >> (BITBUFSIZ - 8)];
339 if (Val >= MAXNP) {
345 Val = Sd->mRight[Val];
347 Val = Sd->mLeft[Val];
351 } while (Val >= MAXNP);
356 FillBuf (Sd, Sd->mPTLen[Val]);
358 Pos = Val;
[all...]
/external/clang/include/clang/AST/
H A DASTTypeTraits.h105 static unsigned getHashValue(const ASTNodeKind &Val) { return Val.KindId; } argument
339 static unsigned getHashValue(const DynTypedNode &Val) { argument
341 if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(Val.NodeKind)) {
342 auto TL = Val.getUnchecked<TypeLoc>();
348 Val.NodeKind)) {
349 auto NNSL = Val.getUnchecked<NestedNameSpecifierLoc>();
354 assert(Val.getMemoizationData());
355 return llvm::hash_value(Val.getMemoizationData());
/external/llvm/lib/Analysis/
H A DVectorUtils.cpp271 Value *Val = nullptr; Constant *Con = nullptr; local
272 if (match(V, m_Add(m_Value(Val), m_Constant(Con))))
275 return findScalarElement(Val, EltNo);
353 Value *Val = Worklist.pop_back_val(); local
354 Value *Leader = ECs.getOrInsertLeaderValue(Val);
356 if (Visited.count(Val))
358 Visited.insert(Val);
361 if (!isa<Instruction>(Val))
363 Instruction *I = cast<Instruction>(Val);
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
H A DAddrModeMatcher.cpp202 // TODO: We can handle "Or Val, Imm" iff this OR is equivalent to an ADD.
453 /// ValueAlreadyLiveAtInst - Retrn true if Val is already known to be live at
457 bool AddressingModeMatcher::ValueAlreadyLiveAtInst(Value *Val,Value *KnownLive1, argument
459 // If Val is either of the known-live values, we know it is live!
460 if (Val == 0 || Val == KnownLive1 || Val == KnownLive2)
464 if (!isa<Instruction>(Val) && !isa<Argument>(Val)) return true;
466 // If Val i
[all...]
/external/clang/lib/Basic/
H A DDiagnostic.cpp498 unsigned Val = 0; local
500 Val *= 10;
501 Val += *Start - '0';
504 return Val;
507 /// TestPluralRange - Test if Val is in the parsed range. Modifies Start.
508 static bool TestPluralRange(unsigned Val, const char *&Start, const char *End) { argument
511 return Ref == Val;
521 return Low <= Val && Val <= High;
778 int Val local
797 unsigned Val = getArgUInt(ArgNo); local
[all...]
/external/llvm/lib/Option/
H A DOption.cpp124 const char *Val = getAliasArgs(); local
125 while (*Val != '\0') {
126 A->getValues().push_back(Val);
129 Val += strlen(Val) + 1;

Completed in 914 milliseconds

1234567891011>>