Searched refs:Constant (Results 51 - 75 of 429) sorted by relevance

1234567891011>>

/macosx-10.10.1/llvmCore-3425.0.34/lib/Analysis/IPA/
H A DFindUsedTypes.cpp48 if (const Constant *C = dyn_cast<Constant>(V)) {
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/IPO/
H A DGlobalDCE.cpp49 void MarkUsedGlobalsAsNeeded(Constant *C);
185 else if (Constant *C = dyn_cast<Constant>(*U))
190 void GlobalDCE::MarkUsedGlobalsAsNeeded(Constant *C) {
197 if (Constant *OpC = dyn_cast<Constant>(*I))
H A DStripSymbols.cpp143 static void RemoveDeadConstant(Constant *C) {
144 assert(C->use_empty() && "Constant is not dead!");
145 SmallPtrSet<Constant*, 4> Operands;
148 Operands.insert(cast<Constant>(C->getOperand(i)));
158 for (SmallPtrSet<Constant*, 4>::iterator OI = Operands.begin(),
301 std::vector<Constant*> DeadConstants;
311 if (Constant *C = dyn_cast<Constant>(Arg1))
317 if (Constant *C = dyn_cast<Constant>(Arg
[all...]
/macosx-10.10.1/vim-55/runtime/syntax/
H A Dexports.vim58 HiLink exportsOptions Constant
59 HiLink exportsSeparator Constant
60 HiLink exportsSettings Constant
H A Dvsejcl.vim39 HiLink vsejclObject Constant
40 HiLink vsejclString Constant
42 HiLink vsejclParms Constant
H A Dsyncolor.vim35 SynColor Constant term=underline cterm=NONE ctermfg=Magenta ctermbg=NONE gui=NONE guifg=#ffa0a0 guibg=NONE
45 SynColor Constant term=underline cterm=NONE ctermfg=DarkRed ctermbg=NONE gui=NONE guifg=Magenta guibg=NONE
59 SynLink String Constant
60 SynLink Character Constant
61 SynLink Number Constant
62 SynLink Boolean Constant
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp27 static ConstantInt *getOne(Constant *C) {
32 static Constant *AddOne(Constant *C) {
36 static Constant *SubOne(Constant *C) {
40 static ConstantInt *ExtractElement(Constant *V, Constant *Idx) {
57 static bool AddWithOverflow(Constant *&Result, Constant *In1,
58 Constant *In
[all...]
H A DInstructionCombining.cpp291 isa<Constant>(Op0->getOperand(1)) &&
292 isa<Constant>(Op1->getOperand(1)) &&
295 Constant *C1 = cast<Constant>(Op0->getOperand(1));
297 Constant *C2 = cast<Constant>(Op1->getOperand(1));
299 Constant *Folded = ConstantExpr::get(Opcode, C1, C2);
535 bool ConstIsRHS = isa<Constant>(I.getOperand(1));
536 Constant *ConstOperand = cast<Constant>(
[all...]
H A DInstCombineMulDivRem.cpp117 if (Constant *ShOp = dyn_cast<Constant>(SI->getOperand(1)))
123 Constant *NewCst = ConstantInt::get(Op0->getType(), Val.logBase2());
164 if (isa<Constant>(Op1)) {
246 Value *V = Builder->CreateSub(Constant::getNullValue(I.getType()),
260 if (Constant *Op1C = dyn_cast<Constant>(Op1)) {
297 if (Constant *ST = dyn_cast<Constant>(SI->getOperand(1)))
301 if (Constant *S
[all...]
H A DInstCombineCasts.cpp156 if (Constant *C = dyn_cast<Constant>(V)) {
264 if (V->getType() == Ty || isa<Constant>(V)) return false;
328 if (isa<Constant>(V))
457 Constant *One = ConstantInt::get(Src->getType(), 1);
459 Value *Zero = Constant::getNullValue(Src->getType());
476 return ReplaceInstUsesWith(CI, Constant::getNullValue(CI.getType()));
523 Constant *One = ConstantInt::get(In->getType(), 1);
554 Constant *Res = ConstantInt::get(Type::getInt1Ty(CI.getContext()),
570 Constant *On
[all...]
H A DInstCombineCalls.cpp142 MI->setArgOperand(2, Constant::getNullValue(MemOpLength->getType()));
182 MI->setLength(Constant::getNullValue(LenC->getType()));
214 if (Constant *NumBytes = dyn_cast<Constant>(MI->getLength())) {
363 Constant *V[] = {
368 Constant *Struct = ConstantStruct::get(ST, V);
377 Constant *V[] = {
382 Constant *Struct = ConstantStruct::get(ST, V);
390 if (isa<Constant>(II->getArgOperand(0)) &&
391 !isa<Constant>(I
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/
H A DModule.h208 friend class Constant;
321 Constant *getOrInsertFunction(StringRef Name, FunctionType *T,
324 Constant *getOrInsertFunction(StringRef Name, FunctionType *T);
333 Constant *getOrInsertFunction(StringRef Name,
338 Constant *getOrInsertFunction(StringRef Name, Type *RetTy, ...)
341 Constant *getOrInsertTargetIntrinsic(StringRef Name,
374 Constant *getOrInsertGlobal(StringRef Name, Type *Ty);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Scalar/
H A DSCCP.cpp1 //===- SCCP.cpp - Sparse Conditional Constant Propagation -----------------===//
75 /// Val: This stores the current lattice value along with the Constant* for
77 PointerIntPair<Constant *, 2, LatticeValueTy> Val;
92 Constant *getConstant() const {
107 bool markConstant(Constant *V) {
108 if (getLatticeValue() == constant) { // Constant but not forcedconstant.
139 void markForcedConstant(Constant *V) {
153 /// Constant Propagation.
313 void markConstant(LatticeVal &IV, Value *V, Constant *C) {
322 void markConstant(Value *V, Constant *
[all...]
H A DJumpThreading.cpp51 typedef SmallVectorImpl<std::pair<Constant*, BasicBlock*> > PredValueInfo;
52 typedef SmallVector<std::pair<Constant*, BasicBlock*>, 8> PredValueInfoTy;
294 static Constant *getKnownConstant(Value *Val, ConstantPreference Preference) {
330 if (Constant *KC = getKnownConstant(V, Preference)) {
359 Constant *PredCst = LVI->getConstantOnEdge(V, P, BB);
360 if (Constant *KC = getKnownConstant(PredCst, Preference))
371 if (Constant *KC = getKnownConstant(InVal, Preference)) {
374 Constant *CI = LVI->getConstantOnEdge(InVal,
376 if (Constant *KC = getKnownConstant(CI, Preference))
459 Constant *
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/CodeGen/
H A DAsmPrinter.h27 class Constant;
233 void EmitGlobalConstant(const Constant *CV, unsigned AddrSpace = 0);
271 virtual void EmitXXStructor(const Constant *CV) {
485 void EmitLLVMUsedList(const Constant *List);
486 void EmitXXStructorList(const Constant *List, bool isCtor);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Analysis/
H A DLazyValueInfo.cpp78 /// Val: This stores the current lattice value along with the Constant* for
81 Constant *Val;
87 static LVILatticeVal get(Constant *C) {
93 static LVILatticeVal getNot(Constant *C) {
111 Constant *getConstant() const {
116 Constant *getNotConstant() const {
136 bool markConstant(Constant *V) {
152 bool markNotConstant(Constant *V) {
226 // RHS is a ConstantRange, LHS is a non-integer Constant.
469 if (isa<Constant>(Va
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Instrumentation/
H A DOptimalEdgeProfiling.cpp119 Constant::getNullValue(ATy), "OptEdgeProfCounters");
122 std::vector<Constant*> Initializer(NumEdges);
123 Constant *Zero = ConstantInt::get(Int32, 0);
124 Constant *Uncounted = ConstantInt::get(Int32, ProfileInfoLoader::Uncounted);
218 Constant *init = ConstantArray::get(ATy, Initializer);
/macosx-10.10.1/JavaScriptCore-7600.1.17/ftl/
H A DFTLLocation.cpp53 case StackMaps::Location::Constant:
158 case Constant:
196 case Location::Constant:
197 out.print("Constant");
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Analysis/
H A DSparsePropagation.h25 class Constant;
71 virtual LatticeVal ComputeConstant(Constant *C) {
84 virtual Constant *GetConstant(LatticeVal LV, Value *Val, SparseSolver &SS) {
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Transforms/Utils/
H A DLocal.h182 Value *Result = Constant::getNullValue(IntPtrTy);
209 Constant *Scale = ConstantInt::get(IntPtrTy, Size);
210 Constant *OC = ConstantExpr::getIntegerCast(OpC, IntPtrTy, true /*SExt*/);
/macosx-10.10.1/llvmCore-3425.0.34/unittests/VMCore/
H A DMetadataTest.cpp118 Constant *C = ConstantInt::get(Type::getInt32Ty(getGlobalContext()), 1);
132 Constant *C = ConstantInt::get(Type::getInt32Ty(Context), 1);
133 Constant *C2 = ConstantInt::get(Type::getInt32Ty(Context), 2);
/macosx-10.10.1/llvmCore-3425.0.34/examples/BrainF/
H A DBrainF.cpp85 Constant* allocsize = ConstantExpr::getSizeOf(Int8Ty);
136 Constant *msg_0 =
158 Constant *zero_32 = Constant::getNullValue(IntegerType::getInt32Ty(C));
160 Constant *gep_params[] = {
165 Constant *msgptr = ConstantExpr::
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.h72 bool Constant; member in struct:llvm::DotDebugLocEntry
88 Constant(false) { Constants.Int = 0;}
92 Constant(false) { Constants.Int = 0; EntryKind = E_Location; }
95 Constant(true) { Constants.Int = i; EntryKind = E_Integer; }
98 Constant(true) { Constants.CFP = FPtr; EntryKind = E_ConstantFP; }
102 Constant(true) { Constants.CIP = IPtr; EntryKind = E_ConstantInt; }
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Utils/
H A DLowerSwitch.cpp50 Constant* Low;
51 Constant* High;
54 CaseRange(Constant *low = 0, Constant *high = 0, BasicBlock *bb = 0) :
190 Constant* NegLo = ConstantExpr::getNeg(Leaf.Low);
194 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High);
/macosx-10.10.1/JavaScriptCore-7600.1.17/bytecode/
H A DValueRecovery.h68 Constant, enumerator in enum:JSC::ValueRecoveryTechnique
165 result.m_technique = Constant;
179 bool isConstant() const { return m_technique == Constant; }
255 ASSERT(m_technique == Constant);

Completed in 401 milliseconds

1234567891011>>