Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h72 return V->getValueID() >= ConstantDataFirstVal && in classof()
73 V->getValueID() <= ConstantDataLastVal; in classof()
262 return V->getValueID() == ConstantIntVal; in classof()
344 return V->getValueID() == ConstantFPVal; in classof()
385 return V->getValueID() == ConstantAggregateZeroVal; in classof()
410 return V->getValueID() >= ConstantAggregateFirstVal && in classof()
411 V->getValueID() <= ConstantAggregateLastVal; in classof()
449 return V->getValueID() == ConstantArrayVal;
501 return V->getValueID() == ConstantStructVal;
542 return V->getValueID() == ConstantVectorVal;
[all …]
H A DValue.h532 unsigned getValueID() const { in getValueID() function
970 static_assert(Value::ConstantFirstVal == 0, "Val.getValueID() >= Value::ConstantFirstVal");
971 return Val.getValueID() <= Value::ConstantLastVal;
977 return Val.getValueID() >= Value::ConstantDataFirstVal &&
978 Val.getValueID() <= Value::ConstantDataLastVal;
984 return Val.getValueID() >= Value::ConstantAggregateFirstVal &&
985 Val.getValueID() <= Value::ConstantAggregateLastVal;
991 return Val.getValueID() == Value::ArgumentVal;
997 return Val.getValueID() == Value::InlineAsmVal;
1003 return Val.getValueID() >
[all...]
H A DGlobalObject.h162 return V->getValueID() == Value::FunctionVal || in classof()
163 V->getValueID() == Value::GlobalVariableVal || in classof()
164 V->getValueID() == Value::GlobalIFuncVal;
H A DGlobalValue.h268 assert(Val == NotThreadLocal || getValueID() != Value::FunctionVal); in setThreadLocalMode()
666 return V->getValueID() == Value::FunctionVal || in classof()
667 V->getValueID() == Value::GlobalVariableVal || in classof()
668 V->getValueID() == Value::GlobalAliasVal || in classof()
669 V->getValueID() == Value::GlobalIFuncVal; in classof()
H A DArgument.h185 return V->getValueID() == ArgumentVal; in classof()
H A DConstant.h174 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.h279 return V->getValueID() == Value::GlobalVariableVal;
H A DInstruction.h274 unsigned getOpcode() const { return getValueID() - InstructionVal; }
939 return V->getValueID() >= Value::InstructionVal;
H A DInlineAsm.h197 return V->getValueID() == Value::InlineAsmVal; in classof()
H A DBasicBlock.h550 return V->getValueID() == Value::BasicBlockVal; in classof()
H A DFunction.h925 return V->getValueID() == Value::FunctionVal; in classof()
H A DPatternMatch.h1079 if (V->getValueID() == Value::InstructionVal + Opc) { in match()
1668 if (V->getValueID() == Value::InstructionVal + Opcode) { in match()
1684 if (V->getValueID() == Value::InstructionVal + Opcode) { in match()
1703 if (V->getValueID() == Value::InstructionVal + Opcode) { in match()
1733 if (V->getValueID() == Value::InstructionVal + Opcode) { in match()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp201 return VE.getValueID(VI.getValue()); in getValueId()
1271 GV.isDeclaration() ? 0 : (VE.getValueID(GV.getInitializer()) + 1)); in writeModuleInfo()
1313 F.hasPrologueData() ? (VE.getValueID(F.getPrologueData()) + 1) : 0); in writeModuleInfo()
1316 Vals.push_back(F.hasPrefixData() ? (VE.getValueID(F.getPrefixData()) + 1) in writeModuleInfo()
1319 F.hasPersonalityFn() ? (VE.getValueID(F.getPersonalityFn()) + 1) : 0); in writeModuleInfo()
1330 Vals.push_back(VE.getValueID(A.getAliasee())); in writeModuleInfo()
1352 Record.push_back(VE.getValueID(V)); in writeValueAsMetadata()
2092 Record.push_back(VE.getValueID(Op)); in writeConstants()
2102 Record.push_back(VE.getValueID(C->getOperand(0))); in writeConstants()
2108 Record.push_back(VE.getValueID(C->getOperand(0))); in writeConstants()
[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()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp256 return VE.getValueID(VI.getValue()); in getValueId()
1539 (VE.getValueID(GV.getInitializer()) + 1)); in writeModuleInfo()
1596 Vals.push_back(F.hasPrologueData() ? (VE.getValueID(F.getPrologueData()) + 1) in writeModuleInfo()
1600 Vals.push_back(F.hasPrefixData() ? (VE.getValueID(F.getPrefixData()) + 1) in writeModuleInfo()
1603 F.hasPersonalityFn() ? (VE.getValueID(F.getPersonalityFn()) + 1) : 0); in writeModuleInfo()
1624 Vals.push_back(VE.getValueID(A.getAliasee())); in writeModuleInfo()
1647 Vals.push_back(VE.getValueID(I.getResolver())); in writeModuleInfo()
1714 Record.push_back(VE.getValueID(V)); in writeValueAsMetadata()
2482 Record.push_back(VE.getValueID(&GO)); in writeModuleMetadata()
2779 Record.push_back(VE.getValueID(Op)); in writeConstants()
[all …]
H A DValueEnumerator.h150 unsigned getValueID(const Value *V) const;
H A DValueEnumerator.cpp519 unsigned ValueEnumerator::getValueID(const Value *V) const { in getValueID() function in ValueEnumerator
628 return F ? getValueID(F) + 1 : 0; in getMetadataFunctionID()
897 auto R = FunctionMDInfo.lookup(getValueID(&F) + 1); in incorporateFunctionMetadata()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemorySSA.h161 unsigned ID = V->getValueID(); in classof()
266 return MA->getValueID() == MemoryUseVal || MA->getValueID() == MemoryDefVal;
326 return MA->getValueID() == MemoryUseVal;
390 return MA->getValueID() == MemoryDefVal;
628 return V->getValueID() == MemoryPhiVal;
/freebsd/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp557 if (L->getValueID() != R->getValueID()) in equivalentAsOperands()
707 if (L->getValueID() != R->getValueID()) in equivalentAsOperands()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp347 if (int Res = cmpNumbers(L->getValueID(), R->getValueID())) in cmpConstants()
360 switch (L->getValueID()) { in cmpConstants()
508 LLVM_DEBUG(dbgs() << "Looking at valueID " << L->getValueID() << "\n"); in cmpConstants()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp80 switch (getValueID()) { in removeFromParent()
92 switch (getValueID()) { in eraseFromParent()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp171 if (constant->getValueID() == Value::ConstantFPVal) { in EvaluateValue()
259 switch (constant->getValueID()) { in ResolveConstantValue()
482 switch (constant->getValueID()) { in CanResolveConstant()

12