Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DConstants.h68 return V->getValueID() >= ConstantDataFirstVal && in classof()
69 V->getValueID() <= ConstantDataLastVal; in classof()
248 return V->getValueID() == ConstantIntVal; in classof()
327 return V->getValueID() == ConstantFPVal; in classof()
368 return V->getValueID() == ConstantAggregateZeroVal; in classof()
393 return V->getValueID() >= ConstantAggregateFirstVal && in classof()
394 V->getValueID() <= ConstantAggregateLastVal; in classof()
432 return V->getValueID() == ConstantArrayVal;
485 return V->getValueID() == ConstantStructVal;
526 return V->getValueID() == ConstantVectorVal;
[all …]
H A DValue.h541 unsigned getValueID() const { in getValueID() function
961 return Val.getValueID() <= Value::ConstantLastVal;
967 return Val.getValueID() >= Value::ConstantDataFirstVal &&
968 Val.getValueID() <= Value::ConstantDataLastVal;
974 return Val.getValueID() >= Value::ConstantAggregateFirstVal &&
975 Val.getValueID() <= Value::ConstantAggregateLastVal;
981 return Val.getValueID() == Value::ArgumentVal;
987 return Val.getValueID() == Value::InlineAsmVal;
993 return Val.getValueID() >= Value::InstructionVal;
999 return Val.getValueID() == Value::BasicBlockVal;
[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.h80 return V->getValueID() == Value::GlobalAliasVal || in classof()
81 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 DInstruction.h160 unsigned getOpcode() const { return getValueID() - InstructionVal; }
748 return V->getValueID() >= Value::InstructionVal;
H A DGlobalVariable.h252 return V->getValueID() == Value::GlobalVariableVal; in classof()
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.h887 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()
H A DMetadata.h196 return V->getValueID() == MetadataAsValueVal; in classof()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp241 return VE.getValueID(VI.getValue()); in getValueId()
1338 (VE.getValueID(GV.getInitializer()) + 1)); in writeModuleInfo()
1392 Vals.push_back(F.hasPrologueData() ? (VE.getValueID(F.getPrologueData()) + 1) in writeModuleInfo()
1396 Vals.push_back(F.hasPrefixData() ? (VE.getValueID(F.getPrefixData()) + 1) in writeModuleInfo()
1399 F.hasPersonalityFn() ? (VE.getValueID(F.getPersonalityFn()) + 1) : 0); in writeModuleInfo()
1420 Vals.push_back(VE.getValueID(A.getAliasee())); in writeModuleInfo()
1443 Vals.push_back(VE.getValueID(I.getResolver())); in writeModuleInfo()
1492 Record.push_back(VE.getValueID(V)); in writeValueAsMetadata()
2252 Record.push_back(VE.getValueID(&GO)); in writeModuleMetadata()
2548 Record.push_back(VE.getValueID(Op)); in writeConstants()
[all …]
H A DValueEnumerator.h150 unsigned getValueID(const Value *V) const;
H A DValueEnumerator.cpp507 unsigned ValueEnumerator::getValueID(const Value *V) const { in getValueID() function in ValueEnumerator
617 return F ? getValueID(F) + 1 : 0; in getMetadataFunctionID()
886 auto R = FunctionMDInfo.lookup(getValueID(&F) + 1); in incorporateFunctionMetadata()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DMemorySSA.h158 unsigned ID = V->getValueID(); in classof()
263 return MA->getValueID() == MemoryUseVal || MA->getValueID() == MemoryDefVal;
335 return MA->getValueID() == MemoryUseVal;
395 return MA->getValueID() == MemoryDefVal;
631 return V->getValueID() == MemoryPhiVal;
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp386 if (L->getValueID() != R->getValueID()) in equivalentAsOperands()
460 if (L->getValueID() != R->getValueID()) in equivalentAsOperands()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DGlobals.cpp75 switch (getValueID()) { in removeFromParent()
87 switch (getValueID()) { in eraseFromParent()
H A DConstants.cpp463 switch (getValueID()) { in destroyConstant()
501 switch (C->getValueID()) { in deleteConstant()
1795 if (getValueID() == UndefValueVal) { in destroyConstantImpl()
1797 } else if (getValueID() == PoisonValueVal) { in destroyConstantImpl()
3329 switch (getValueID()) { in handleOperandChange()
H A DValue.cpp113 switch (getValueID()) { in deleteValue()
/netbsd-src/external/apache2/llvm/dist/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()

12