Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h79 return V->getValueID() <= ConstantDataLastVal; in classof()
270 return V->getValueID() == ConstantIntVal; in classof()
352 return V->getValueID() == ConstantFPVal; in classof()
393 return V->getValueID() == ConstantAggregateZeroVal; in classof()
419 return V->getValueID() >= ConstantAggregateFirstVal && in classof()
420 V->getValueID() <= ConstantAggregateLastVal; in classof()
458 return V->getValueID() == ConstantArrayVal;
510 return V->getValueID() == ConstantStructVal;
551 return V->getValueID() == ConstantVectorVal;
580 return V->getValueID() == ConstantPointerNullVal;
[all …]
H A DValue.h543 unsigned getValueID() const { in getValueID() function
996 return Val.getValueID() <= Value::ConstantLastVal;
1004 return Val.getValueID() <= Value::ConstantDataLastVal;
1010 return Val.getValueID() >= Value::ConstantAggregateFirstVal &&
1011 Val.getValueID() <= Value::ConstantAggregateLastVal;
1017 return Val.getValueID() == Value::ArgumentVal;
1023 return Val.getValueID() == Value::InlineAsmVal;
1029 return Val.getValueID() >= Value::InstructionVal;
1035 return Val.getValueID() == Value::BasicBlockVal;
1041 return Val.getValueID() == Value::FunctionVal;
[all …]
H A DGlobalObject.h164 return V->getValueID() == Value::FunctionVal || in classof()
165 V->getValueID() == Value::GlobalVariableVal || in classof()
166 V->getValueID() == Value::GlobalIFuncVal; in classof()
H A DGlobalValue.h270 assert(Val == NotThreadLocal || getValueID() != Value::FunctionVal); in setThreadLocalMode()
673 return V->getValueID() == Value::FunctionVal || in classof()
674 V->getValueID() == Value::GlobalVariableVal || in classof()
675 V->getValueID() == Value::GlobalAliasVal || in classof()
676 V->getValueID() == Value::GlobalIFuncVal; in classof()
H A DGlobalIFunc.h93 return V->getValueID() == Value::GlobalIFuncVal; in classof()
H A DConstant.h175 return V->getValueID() <= ConstantLastVal; in classof()
H A DArgument.h193 return V->getValueID() == ArgumentVal; in classof()
H A DGlobalAlias.h105 return V->getValueID() == Value::GlobalAliasVal; in classof()
H A DGlobalVariable.h320 return V->getValueID() == Value::GlobalVariableVal; in classof()
H A DInstruction.h312 unsigned getOpcode() const { return getValueID() - InstructionVal; }
999 return V->getValueID() >= Value::InstructionVal;
H A DInlineAsm.h200 return V->getValueID() == Value::InlineAsmVal; in classof()
/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.cpp283 return VE.getValueID(VI.getValue()); in getValueId()
1607 (VE.getValueID(GV.getInitializer()) + 1)); in writeModuleInfo()
1664 Vals.push_back(F.hasPrologueData() ? (VE.getValueID(F.getPrologueData()) + 1) in writeModuleInfo()
1668 Vals.push_back(F.hasPrefixData() ? (VE.getValueID(F.getPrefixData()) + 1) in writeModuleInfo()
1671 F.hasPersonalityFn() ? (VE.getValueID(F.getPersonalityFn()) + 1) : 0); in writeModuleInfo()
1692 Vals.push_back(VE.getValueID(A.getAliasee())); in writeModuleInfo()
1715 Vals.push_back(VE.getValueID(I.getResolver())); in writeModuleInfo()
1785 Record.push_back(VE.getValueID(V)); in writeValueAsMetadata()
2625 Record.push_back(VE.getValueID(&GO)); in writeModuleMetadata()
2922 Record.push_back(VE.getValueID(Op)); in writeConstants()
[all …]
H A DValueEnumerator.h150 unsigned getValueID(const Value *V) const;
H A DValueEnumerator.cpp522 unsigned ValueEnumerator::getValueID(const Value *V) const { in getValueID() function in ValueEnumerator
631 return F ? getValueID(F) + 1 : 0; in getMetadataFunctionID()
900 auto R = FunctionMDInfo.lookup(getValueID(&F) + 1); in incorporateFunctionMetadata()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DWindowsSecureHotPatching.cpp399 if (C->getValueID() == Value::GlobalVariableVal) { in rewriteGlobalVariablesInConstant()
516 switch (V->getValueID()) { in runOnFunction()
583 switch (OldOperandValue->getValueID()) { in runOnFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemorySSA.h158 unsigned ID = V->getValueID(); in classof()
263 return MA->getValueID() == MemoryUseVal || MA->getValueID() == MemoryDefVal;
324 return MA->getValueID() == MemoryUseVal;
389 return MA->getValueID() == MemoryDefVal;
629 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.cpp363 if (int Res = cmpNumbers(L->getValueID(), R->getValueID())) in cmpConstants()
376 switch (L->getValueID()) { in cmpConstants()
522 LLVM_DEBUG(dbgs() << "Looking at valueID " << L->getValueID() << "\n"); in cmpConstants()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp82 switch (getValueID()) { in removeFromParent()
94 switch (getValueID()) { in eraseFromParent()
H A DStructuralHash.cpp146 switch (C->getValueID()) { in hashConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVIRMapping.h165 return irhandle_ptr(V, V->getValueID(), STK_Value); in handle()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp169 if (constant->getValueID() == Value::ConstantFPVal) { in EvaluateValue()
257 switch (constant->getValueID()) { in ResolveConstantValue()
480 switch (constant->getValueID()) { in CanResolveConstant()

12