Searched refs:isConstant (Results 1 - 25 of 54) sorted by relevance

123

/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/CodeGen/
H A DPseudoSourceValue.h37 /// isConstant - Test whether the memory pointed to by this
40 virtual bool isConstant(const MachineFrameInfo *) const;
100 virtual bool isConstant(const MachineFrameInfo *MFI) const;
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/
H A DGlobalVariable.h63 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage,
68 GlobalVariable(Module &M, Type *Ty, bool isConstant,
145 bool isConstant() const { return isConstantGlobal; } function in class:llvm::GlobalVariable
H A DMDBuilder.h126 bool isConstant = false) {
127 if (isConstant) {
/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/
H A DPseudoSourceValue.cpp82 bool PseudoSourceValue::isConstant(const MachineFrameInfo *) const { function in class:PseudoSourceValue
109 bool FixedStackPseudoSourceValue::isConstant(const MachineFrameInfo *MFI) const{ function in class:FixedStackPseudoSourceValue
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/Scalar/
H A DSCCP.cpp87 bool isConstant() const { function in class:__anon10624::LatticeVal
93 assert(isConstant() && "Cannot get the constant of a non-constant!");
134 if (isConstant())
650 // 3. If V <- x (op) y && isConstant(x) && isConstant(y) V = Constant
759 else if (OpSt.isConstant()) // Propagate constant value
842 if (TVal.isConstant() && FVal.isConstant() &&
861 if (V1State.isConstant() && V2State.isConstant())
[all...]
H A DGlobalMerge.cpp199 else if (I->isConstant())
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/IPO/
H A DConstantMerge.cpp137 if (!GV->isConstant() || !GV->hasDefinitiveInitializer() ||
172 if (!GV->isConstant() || !GV->hasDefinitiveInitializer() ||
H A DGlobalOpt.cpp419 if (MemSrc && MemSrc->isConstant()) {
664 assert(GV->hasLocalLinkage() && !GV->isConstant());
1922 if (GV->isConstant() || !GV->hasInitializer())
2234 GlobalVariable *NGV = new GlobalVariable(CA->getType(), GCL->isConstant(),
/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/
H A DLazyValueInfo.cpp106 bool isConstant() const { return Tag == constant; } function in class:__anon10083::LVILatticeVal
112 assert(isConstant() && "Cannot get the constant of a non-constant!");
143 assert((!isConstant() || getConstant() == V) &&
159 assert((!isConstant() || getConstant() != V) &&
163 assert(isUndefined() || isConstant());
202 if (isConstant()) {
203 if (RHS.isConstant()) {
235 if (RHS.isConstant()) {
1035 if (Result.isConstant())
1051 if (Result.isConstant())
[all...]
H A DConstantFolding.cpp428 if (!GV || !GV->isConstant() || !GV->hasDefinitiveInitializer() ||
461 if (GV->isConstant() && GV->hasDefinitiveInitializer())
470 if (GV->isConstant() && GV->hasDefinitiveInitializer())
515 if (GV->isConstant() && GV->hasDefinitiveInitializer()) {
H A DLint.cpp392 Assert1(!GV->isConstant(),
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/
H A DTargetLoweringObjectFile.cpp58 if (GV->isConstant())
153 if (GVar->isConstant()) {
/macosx-10.9.5/JavaScriptCore-7537.78.1/dfg/
H A DDFGNode.h247 bool isConstant() function in struct:JSC::DFG::Node
259 return isConstant() && codeOrigin.inlineCallFrame == inlineCallFrame;
286 ASSERT(isConstant());
394 return isConstant() && valueOfJSConstant(codeBlock).isInt32();
399 bool result = isConstant() && valueOfJSConstant(codeBlock).isDouble();
407 bool result = isConstant() && valueOfJSConstant(codeBlock).isNumber();
414 return isConstant() && valueOfJSConstant(codeBlock).isBoolean();
H A DDFGGraph.h260 bool isConstant(Node* node) function in class:JSC::DFG::Graph
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp19 /// is to leave as a vector operation. isConstant indicates whether we're
21 static bool CheapToScalarize(Value *V, bool isConstant) { argument
23 if (isConstant) return true;
37 if (I->getOpcode() == Instruction::InsertElement && isConstant &&
44 (CheapToScalarize(BO->getOperand(0), isConstant) ||
45 CheapToScalarize(BO->getOperand(1), isConstant)))
49 (CheapToScalarize(CI->getOperand(0), isConstant) ||
50 CheapToScalarize(CI->getOperand(1), isConstant)))
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/Utils/
H A DCloneModule.cpp53 I->isConstant(), I->getLinkage(),
/macosx-10.9.5/llvmCore-3425.0.33/lib/Linker/
H A DLinkModules.cpp666 if (DstGV->isConstant() != SrcGV->isConstant())
686 new GlobalVariable(*DstGV->getParent(), NewType, SrcGV->isConstant(),
738 if (DGVar->isDeclaration() && SGV->isConstant() && !DGVar->isConstant())
761 SGV->isConstant(), SGV->getLinkage(), /*init*/0,
/macosx-10.9.5/JavaScriptCore-7537.78.1/bytecode/
H A DValueRecovery.h207 bool isConstant() const { return m_technique == Constant; } function in class:JSC::ValueRecovery
H A DUnlinkedCodeBlock.h612 void addVariableDeclaration(const Identifier& name, bool isConstant) argument
614 m_varDeclarations.append(std::make_pair(name, isConstant));
/macosx-10.9.5/JavaScriptCore-7537.78.1/bytecompiler/
H A DBytecodeGenerator.h590 RegisterID* addVar(const Identifier& ident, bool isConstant) argument
593 addVar(ident, isConstant, local);
598 bool addVar(const Identifier&, bool isConstant, RegisterID*&);
H A DBytecodeGenerator.cpp138 bool BytecodeGenerator::addVar(const Identifier& ident, bool isConstant, RegisterID*& r0) argument
141 SymbolTableEntry newEntry(index, isConstant ? ReadOnly : 0);
1616 if (!n->value()->isConstant()) {
1632 ASSERT(n->value()->isConstant());
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp184 if (GV->isConstant()) {
/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/IPA/
H A DGlobalsModRef.cpp225 if (!I->isConstant()) // No need to keep track of writers to constants
/macosx-10.9.5/llvmCore-3425.0.33/lib/ExecutionEngine/JIT/
H A DJIT.cpp809 if (isGVCompilationDisabled() && !GV->isConstant()) {
/macosx-10.9.5/JavaScriptCore-7537.78.1/parser/
H A DNodes.h153 virtual bool isConstant() const { return false; } function in class:JSC::ExpressionNode
201 virtual bool isConstant() const { return true; } function in class:JSC::ConstantNode

Completed in 229 milliseconds

123