Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DValue.h529 unsigned getValueID() const { in getValueID() function
949 return Val.getValueID() <= Value::ConstantLastVal;
956 Val.getValueID() <= Value::ConstantDataLastVal;
969 return Val.getValueID() == Value::ArgumentVal;
975 return Val.getValueID() == Value::InlineAsmVal;
981 return Val.getValueID() >= Value::InstructionVal;
987 return Val.getValueID() == Value::BasicBlockVal;
993 return Val.getValueID() == Value::FunctionVal;
999 return Val.getValueID() == Value::GlobalVariableVal;
1005 return Val.getValueID() == Value::GlobalAliasVal;
[all …]
H A DConstants.h71 V->getValueID() <= ConstantDataLastVal; in classof()
250 return V->getValueID() == ConstantIntVal; in classof()
329 return V->getValueID() == ConstantFPVal; in classof()
434 return V->getValueID() == ConstantArrayVal;
486 return V->getValueID() == ConstantStructVal;
527 return V->getValueID() == ConstantVectorVal;
881 return V->getValueID() == BlockAddressVal;
1325 return V->getValueID() == ConstantExprVal;
1388 return V->getValueID() == UndefValueVal ||
1389 V->getValueID() == PoisonValueVal;
[all …]
H A DGlobalValue.h249 assert(Val == NotThreadLocal || getValueID() != Value::FunctionVal); in setThreadLocalMode()
577 return V->getValueID() == Value::FunctionVal || in classof()
578 V->getValueID() == Value::GlobalVariableVal || in classof()
579 V->getValueID() == Value::GlobalAliasVal || in classof()
580 V->getValueID() == Value::GlobalIFuncVal; in classof()
H A DGlobalIndirectSymbol.h79 return V->getValueID() == Value::GlobalAliasVal || in classof()
80 V->getValueID() == Value::GlobalIFuncVal; in classof()
H A DGlobalObject.h155 return V->getValueID() == Value::FunctionVal || in classof()
156 V->getValueID() == Value::GlobalVariableVal; in classof()
H A DGlobalIFunc.h69 return V->getValueID() == Value::GlobalIFuncVal; in classof()
H A DArgument.h174 return V->getValueID() == ArgumentVal; in classof()
H A DGlobalAlias.h87 return V->getValueID() == Value::GlobalAliasVal; in classof()
H A DConstant.h169 return V->getValueID() <= ConstantLastVal; in classof()
H A DGlobalVariable.h252 return V->getValueID() == Value::GlobalVariableVal; in classof()
H A DInstruction.h160 unsigned getOpcode() const { return getValueID() - InstructionVal; }
767 return V->getValueID() >= Value::InstructionVal;
H A DInlineAsm.h189 return V->getValueID() == Value::InlineAsmVal; in classof()
H A DBasicBlock.h376 return V->getValueID() == Value::BasicBlockVal; in classof()
H A DFunction.h888 return V->getValueID() == Value::FunctionVal; in classof()
H A DPatternMatch.h992 if (V->getValueID() == Value::InstructionVal + Opcode) { in match()
1425 if (V->getValueID() == Value::InstructionVal + Opcode) { in match()
1441 if (V->getValueID() == Value::InstructionVal + Opcode) { in match()
1460 if (V->getValueID() == Value::InstructionVal + Opcode) { in match()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp241 return VE.getValueID(VI.getValue()); in getValueId()
1496 Record.push_back(VE.getValueID(V)); in writeValueAsMetadata()
2256 Record.push_back(VE.getValueID(&GO)); in writeModuleMetadata()
2552 Record.push_back(VE.getValueID(Op)); in writeConstants()
2688 unsigned ValID = VE.getValueID(V); in pushValueAndType()
2719 unsigned ValID = VE.getValueID(V); in pushValue()
2725 unsigned ValID = VE.getValueID(V); in pushValueSigned()
3208 Record[0] = VE.getValueID(&F); in writeGlobalValueSymbolTable()
3279 Record.push_back(VE.getValueID(Order.V)); in writeUseList()
3866 NameVals.push_back(VE.getValueID(&V)); in writeModuleLevelReferences()
[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
629 return F ? getValueID(F) + 1 : 0; in getMetadataFunctionID()
898 auto R = FunctionMDInfo.lookup(getValueID(&F) + 1); in incorporateFunctionMetadata()
/freebsd-13.1/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;
336 return MA->getValueID() == MemoryUseVal;
397 return MA->getValueID() == MemoryDefVal;
635 return V->getValueID() == MemoryPhiVal;
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp419 if (L->getValueID() != R->getValueID()) in equivalentAsOperands()
563 if (L->getValueID() != R->getValueID()) in equivalentAsOperands()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp75 switch (getValueID()) { in removeFromParent()
87 switch (getValueID()) { in eraseFromParent()
H A DConstants.cpp465 switch (getValueID()) { in destroyConstant()
503 switch (C->getValueID()) { in deleteConstant()
1797 if (getValueID() == UndefValueVal) { in destroyConstantImpl()
1799 } else if (getValueID() == PoisonValueVal) { in destroyConstantImpl()
3331 switch (getValueID()) { in handleOperandChange()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp279 if (int Res = cmpNumbers(L->getValueID(), R->getValueID())) in cmpConstants()
292 switch (L->getValueID()) { in cmpConstants()
398 LLVM_DEBUG(dbgs() << "Looking at valueID " << L->getValueID() << "\n"); in cmpConstants()
/freebsd-13.1/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp232 switch (constant->getValueID()) { in ResolveConstantValue()
451 switch (constant->getValueID()) { in CanResolveConstant()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp8476 if (Opcodes1[I]->getValueID() < Opcodes2[I]->getValueID()) in vectorizeChainsInBlock()
8478 if (Opcodes1[I]->getValueID() > Opcodes2[I]->getValueID()) in vectorizeChainsInBlock()
8508 if (Opcodes1[I]->getValueID() != Opcodes2[I]->getValueID()) in vectorizeChainsInBlock()
8787 return V->getValueOperand()->getValueID() < in vectorizeStoreChains()
8788 V2->getValueOperand()->getValueID(); in vectorizeStoreChains()
8810 return V1->getValueOperand()->getValueID() == in vectorizeStoreChains()
8811 V2->getValueOperand()->getValueID(); in vectorizeStoreChains()

12