Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DValue.h532 unsigned getValueID() const { in getValueID() function
957 return Val.getValueID() <= Value::ConstantLastVal;
964 Val.getValueID() <= Value::ConstantDataLastVal;
977 return Val.getValueID() == Value::ArgumentVal;
983 return Val.getValueID() == Value::InlineAsmVal;
989 return Val.getValueID() >= Value::InstructionVal;
995 return Val.getValueID() == Value::BasicBlockVal;
1001 return Val.getValueID() == Value::FunctionVal;
1007 return Val.getValueID() == Value::GlobalVariableVal;
1013 return Val.getValueID() == Value::GlobalAliasVal;
[all …]
H A DConstants.h71 V->getValueID() <= ConstantDataLastVal; in classof()
250 return V->getValueID() == ConstantIntVal; in classof()
330 return V->getValueID() == ConstantFPVal; in classof()
435 return V->getValueID() == ConstantArrayVal;
487 return V->getValueID() == ConstantStructVal;
882 return V->getValueID() == BlockAddressVal;
955 return V->getValueID() == NoCFIValueVal;
1337 return V->getValueID() == ConstantExprVal;
1400 return V->getValueID() == UndefValueVal ||
1401 V->getValueID() == PoisonValueVal;
[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.h254 assert(Val == NotThreadLocal || getValueID() != Value::FunctionVal); in setThreadLocalMode()
641 return V->getValueID() == Value::FunctionVal || in classof()
642 V->getValueID() == Value::GlobalVariableVal || in classof()
643 V->getValueID() == Value::GlobalAliasVal || in classof()
644 V->getValueID() == Value::GlobalIFuncVal; in classof()
H A DArgument.h173 return V->getValueID() == ArgumentVal; in classof()
H A DConstant.h165 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.h157 unsigned getOpcode() const { return getValueID() - InstructionVal; }
751 return V->getValueID() >= Value::InstructionVal;
H A DInlineAsm.h194 return V->getValueID() == Value::InlineAsmVal; in classof()
H A DBasicBlock.h377 return V->getValueID() == Value::BasicBlockVal; in classof()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp200 return VE.getValueID(VI.getValue()); in getValueId()
1349 Vals.push_back(VE.getValueID(A.getAliasee())); in writeModuleInfo()
1371 Record.push_back(VE.getValueID(V)); in writeValueAsMetadata()
2101 Record.push_back(VE.getValueID(Op)); in writeConstants()
2220 unsigned ValID = VE.getValueID(V); in pushValueAndType()
2234 unsigned ValID = VE.getValueID(V); in pushValue()
2240 unsigned ValID = VE.getValueID(V); in pushValueSigned()
2352 Vals.push_back(VE.getValueID(II.getSuccessor(0))); in writeInstruction()
2375 Vals.push_back(VE.getValueID(I.getOperand(i))); in writeInstruction()
2621 NameVals.push_back(VE.getValueID(SI->getValue())); in writeFunctionLevelValueSymbolTable()
[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()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp242 return VE.getValueID(VI.getValue()); in getValueId()
1525 Record.push_back(VE.getValueID(V)); in writeValueAsMetadata()
2294 Record.push_back(VE.getValueID(&GO)); in writeModuleMetadata()
2591 Record.push_back(VE.getValueID(Op)); in writeConstants()
2731 unsigned ValID = VE.getValueID(V); in pushValueAndType()
2762 unsigned ValID = VE.getValueID(V); in pushValue()
2768 unsigned ValID = VE.getValueID(V); in pushValueSigned()
3256 Record[0] = VE.getValueID(&F); in writeGlobalValueSymbolTable()
3327 Record.push_back(VE.getValueID(Order.V)); in writeUseList()
3941 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()
/llvm-project-15.0.7/mlir/lib/Target/SPIRV/Serialization/
H A DSerializeOps.cpp150 uint32_t id = getValueID(operand); in processSpecConstantOperationOp()
244 uint32_t id = getValueID(value); in processFuncOp()
285 auto argID = getValueID(arg); in processVariableOp()
485 auto conditionID = getValueID(condBranchOp.condition()); in processBranchConditionalOp()
652 auto valueID = getValueID(value); in processOp()
671 auto id = getValueID(operand); in processOp()
H A DSerializer.h274 uint32_t getValueID(Value val) const { return valueIDMap.lookup(val); } in getValueID() function
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DMemorySSA.h160 unsigned ID = V->getValueID(); in classof()
265 return MA->getValueID() == MemoryUseVal || MA->getValueID() == MemoryDefVal;
339 return MA->getValueID() == MemoryUseVal;
403 return MA->getValueID() == MemoryDefVal;
641 return V->getValueID() == MemoryPhiVal;
/llvm-project-15.0.7/llvm/test/Bitcode/
H A Dfunction-local-metadata.3.5.ll17 ; Assertion failed: (I != ValueMap.end() && "Value not in slotcalculator!"), function getValueID, f…
/llvm-project-15.0.7/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp439 if (L->getValueID() != R->getValueID()) in equivalentAsOperands()
583 if (L->getValueID() != R->getValueID()) in equivalentAsOperands()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp287 if (int Res = cmpNumbers(L->getValueID(), R->getValueID())) in cmpConstants()
300 switch (L->getValueID()) { in cmpConstants()
406 LLVM_DEBUG(dbgs() << "Looking at valueID " << L->getValueID() << "\n"); in cmpConstants()
/llvm-project-15.0.7/llvm/lib/IR/
H A DGlobals.cpp77 switch (getValueID()) { in removeFromParent()
89 switch (getValueID()) { in eraseFromParent()

12