Home
last modified time | relevance | path

Searched refs:getValueID (Results 1 – 25 of 35) sorted by relevance

12

/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DConstants.h70 V->getValueID() <= ConstantDataLastVal; in classof()
249 return V->getValueID() == ConstantIntVal; in classof()
329 return V->getValueID() == ConstantFPVal; in classof()
434 return V->getValueID() == ConstantArrayVal;
486 return V->getValueID() == ConstantStructVal;
908 return V->getValueID() == BlockAddressVal;
981 return V->getValueID() == NoCFIValueVal;
1355 return V->getValueID() == ConstantExprVal;
1418 return V->getValueID() == UndefValueVal ||
1419 V->getValueID() == PoisonValueVal;
[all …]
H A DValue.h532 unsigned getValueID() const { in getValueID() function
954 return Val.getValueID() <= Value::ConstantLastVal;
961 Val.getValueID() <= Value::ConstantDataLastVal;
974 return Val.getValueID() == Value::ArgumentVal;
980 return Val.getValueID() == Value::InlineAsmVal;
986 return Val.getValueID() >= Value::InstructionVal;
992 return Val.getValueID() == Value::BasicBlockVal;
998 return Val.getValueID() == Value::FunctionVal;
1004 return Val.getValueID() == Value::GlobalVariableVal;
1010 return Val.getValueID() == Value::GlobalAliasVal;
[all …]
H A DGlobalObject.h154 return V->getValueID() == Value::FunctionVal || in classof()
155 V->getValueID() == Value::GlobalVariableVal || in classof()
156 V->getValueID() == Value::GlobalIFuncVal; in classof()
H A DGlobalValue.h264 assert(Val == NotThreadLocal || getValueID() != Value::FunctionVal); in setThreadLocalMode()
657 return V->getValueID() == Value::FunctionVal || in classof()
658 V->getValueID() == Value::GlobalVariableVal || in classof()
659 V->getValueID() == Value::GlobalAliasVal || in classof()
660 V->getValueID() == Value::GlobalIFuncVal; in classof()
H A DArgument.h174 return V->getValueID() == ArgumentVal; in classof()
H A DConstant.h169 return V->getValueID() <= ConstantLastVal; in classof()
H A DGlobalIFunc.h94 return V->getValueID() == Value::GlobalIFuncVal; in classof()
H A DGlobalAlias.h102 return V->getValueID() == Value::GlobalAliasVal; in classof()
H A DGlobalVariable.h251 return V->getValueID() == Value::GlobalVariableVal; in classof()
H A DInstruction.h168 unsigned getOpcode() const { return getValueID() - InstructionVal; }
789 return V->getValueID() >= Value::InstructionVal;
H A DInlineAsm.h196 return V->getValueID() == Value::InlineAsmVal; in classof()
H A DBasicBlock.h397 return V->getValueID() == Value::BasicBlockVal; in classof()
H A DFunction.h860 return V->getValueID() == Value::FunctionVal; in classof()
H A DPatternMatch.h961 if (V->getValueID() == Value::InstructionVal + Opc) { in match()
1415 if (V->getValueID() == Value::InstructionVal + Opcode) { in match()
1431 if (V->getValueID() == Value::InstructionVal + Opcode) { in match()
1450 if (V->getValueID() == Value::InstructionVal + Opcode) { in match()
/openbsd/gnu/llvm/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp201 return VE.getValueID(VI.getValue()); in getValueId()
1342 Vals.push_back(VE.getValueID(A.getAliasee())); in writeModuleInfo()
1364 Record.push_back(VE.getValueID(V)); in writeValueAsMetadata()
2094 Record.push_back(VE.getValueID(Op)); in writeConstants()
2215 unsigned ValID = VE.getValueID(V); in pushValueAndType()
2229 unsigned ValID = VE.getValueID(V); in pushValue()
2235 unsigned ValID = VE.getValueID(V); in pushValueSigned()
2348 Vals.push_back(VE.getValueID(II.getSuccessor(0))); in writeInstruction()
2359 Vals.push_back(VE.getValueID(SI.getDefaultDest())); in writeInstruction()
2371 Vals.push_back(VE.getValueID(I.getOperand(i))); in writeInstruction()
[all …]
H A DDXILValueEnumerator.h151 unsigned getValueID(const Value *V) const;
H A DDXILValueEnumerator.cpp517 unsigned ValueEnumerator::getValueID(const Value *V) const { in getValueID() function in ValueEnumerator
595 return F ? getValueID(F) + 1 : 0; in getMetadataFunctionID()
865 auto R = FunctionMDInfo.lookup(getValueID(&F) + 1); in incorporateFunctionMetadata()
/openbsd/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp241 return VE.getValueID(VI.getValue()); in getValueId()
1564 Record.push_back(VE.getValueID(V)); in writeValueAsMetadata()
2342 Record.push_back(VE.getValueID(&GO)); in writeModuleMetadata()
2639 Record.push_back(VE.getValueID(Op)); in writeConstants()
2779 unsigned ValID = VE.getValueID(V); in pushValueAndType()
2810 unsigned ValID = VE.getValueID(V); in pushValue()
2816 unsigned ValID = VE.getValueID(V); in pushValueSigned()
3304 Record[0] = VE.getValueID(&F); in writeGlobalValueSymbolTable()
3375 Record.push_back(VE.getValueID(Order.V)); in writeUseList()
4048 NameVals.push_back(VE.getValueID(&V)); in writeModuleLevelReferences()
[all …]
H A DValueEnumerator.h150 unsigned getValueID(const Value *V) const;
H A DValueEnumerator.cpp482 unsigned ValueEnumerator::getValueID(const Value *V) const { in getValueID() function in ValueEnumerator
591 return F ? getValueID(F) + 1 : 0; in getMetadataFunctionID()
860 auto R = FunctionMDInfo.lookup(getValueID(&F) + 1); in incorporateFunctionMetadata()
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DMemorySSA.h160 unsigned ID = V->getValueID(); in classof()
265 return MA->getValueID() == MemoryUseVal || MA->getValueID() == MemoryDefVal;
325 return MA->getValueID() == MemoryUseVal;
389 return MA->getValueID() == MemoryDefVal;
627 return V->getValueID() == MemoryPhiVal;
/openbsd/gnu/llvm/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp559 if (L->getValueID() != R->getValueID()) in equivalentAsOperands()
715 if (L->getValueID() != R->getValueID()) in equivalentAsOperands()
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp287 if (int Res = cmpNumbers(L->getValueID(), R->getValueID())) in cmpConstants()
300 switch (L->getValueID()) { in cmpConstants()
415 LLVM_DEBUG(dbgs() << "Looking at valueID " << L->getValueID() << "\n"); in cmpConstants()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DGlobals.cpp77 switch (getValueID()) { in removeFromParent()
89 switch (getValueID()) { in eraseFromParent()
/openbsd/gnu/llvm/lldb/source/Expression/
H A DIRInterpreter.cpp170 if (constant->getValueID() == Value::ConstantFPVal) { in EvaluateValue()
258 switch (constant->getValueID()) { in ResolveConstantValue()
478 switch (constant->getValueID()) { in CanResolveConstant()

12